public class JobUnit extends java.lang.Object implements TaskConscious, Displayer
Modifier and Type | Field and Description |
---|---|
java.lang.String |
args
The args.
|
java.util.ArrayList<java.lang.String> |
argsStringArray
The args string array.
|
static int |
AUTO_CONNECT
The Constant AUTO_CONNECT.
|
boolean |
autoConnect
The auto connect.
|
boolean |
collection
The collection.
|
int |
connectPattern
The connect pattern.
|
java.lang.String |
exec
The exec.
|
int |
fileInputsPerJob
The file inputs per job.
|
java.lang.String |
inputSwitch
The input switch.
|
java.lang.String |
jobName
The job name.
|
int |
numberOfJobs
The number of jobs.
|
static int |
ONE2ONE_CONNECT
The Constant ONE2ONE_CONNECT.
|
java.lang.String |
outputSwitch
The output switch.
|
static int |
SCATTER_CONNECT
The Constant SCATTER_CONNECT.
|
static int |
SPREAD_CONNECT
The Constant SPREAD_CONNECT.
|
Task |
task
The task.
|
static java.lang.String |
TRIANA_TOOL
The Constant TRIANA_TOOL.
|
Constructor and Description |
---|
JobUnit() |
Modifier and Type | Method and Description |
---|---|
void |
changeToolName(java.lang.String name)
Change tool name.
|
void |
displayMessage(java.lang.String string)
Display message.
|
java.awt.Component |
getComponent()
Gets the component.
|
int |
getConnectPattern()
Gets the connect pattern.
|
int |
getFileInputsPerJob()
Gets the file inputs per job.
|
int |
getNumberOfJobs()
Gets the number of jobs.
|
void |
getParams()
Gets the params.
|
boolean |
isCollection()
Checks if is collection.
|
java.util.UUID |
process(java.util.List in)
Process.
|
void |
setParams()
Sets the params.
|
void |
setTask(Task task) |
public static final int AUTO_CONNECT
public static final int SCATTER_CONNECT
public static final int ONE2ONE_CONNECT
public static final int SPREAD_CONNECT
public int numberOfJobs
public int fileInputsPerJob
public int connectPattern
public java.lang.String jobName
public java.lang.String args
public boolean collection
public boolean autoConnect
public java.lang.String exec
public java.lang.String inputSwitch
public java.lang.String outputSwitch
public Task task
public static final java.lang.String TRIANA_TOOL
public java.util.ArrayList<java.lang.String> argsStringArray
public void setTask(Task task)
setTask
in interface TaskConscious
public java.util.UUID process(java.util.List in)
in
- the inpublic void getParams()
public void setParams()
public void changeToolName(java.lang.String name)
name
- the namepublic boolean isCollection()
public int getNumberOfJobs()
public int getFileInputsPerJob()
public int getConnectPattern()
public java.awt.Component getComponent()
public void displayMessage(java.lang.String string)
Displayer
displayMessage
in interface Displayer
string
- the string