|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.officefloor.compile.impl.work.TaskFlowTypeImpl<F>
public class TaskFlowTypeImpl<F extends Enum<F>>
TaskFlowType implementation.
| Constructor Summary | |
|---|---|
TaskFlowTypeImpl(int index)
Initiate. |
|
| Method Summary | |
|---|---|
Class<?> |
getArgumentType()
Obtains the type of the argument passed by the Task to the
JobSequence. |
String |
getFlowName()
Obtains the name for the TaskFlowType. |
int |
getIndex()
Obtains the index for the TaskFlowType. |
F |
getKey()
Obtains the Enum key for the TaskFlowType. |
void |
setArgumentType(Class<?> argumentType)
Specifies the type of the argument passed by the Task to the
JobSequence. |
void |
setKey(F key)
Specifies the Enum for this TaskFlowTypeBuilder. |
void |
setLabel(String label)
Provides means to specify a display label for the JobSequence. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TaskFlowTypeImpl(int index)
index - Index of this TaskFlowType.| Method Detail |
|---|
public void setKey(F key)
TaskFlowTypeBuilderEnum for this TaskFlowTypeBuilder. This is
required to be set if F is not None or
Indexed.
setKey in interface TaskFlowTypeBuilder<F extends Enum<F>>key - Enum for this TaskFlowTypeBuilder.public void setArgumentType(Class<?> argumentType)
TaskFlowTypeBuilder
Specifies the type of the argument passed by the Task to the
JobSequence.
Should there be no argument, do not call this method.
setArgumentType in interface TaskFlowTypeBuilder<F extends Enum<F>>public void setLabel(String label)
TaskFlowTypeBuilder
Provides means to specify a display label for the JobSequence.
This need not be set as is only an aid to better identify the
JobSequence. If not set the TaskTypeBuilder will use the
following order to get a display label:
Enum key name
setLabel in interface TaskFlowTypeBuilder<F extends Enum<F>>label - Display label for the JobSequence.public String getFlowName()
TaskFlowTypeTaskFlowType.
getFlowName in interface TaskFlowType<F extends Enum<F>>TaskFlowType.public int getIndex()
TaskFlowType
Obtains the index for the TaskFlowType.
Should there be an Enum then will be the Enum.ordinal()
value. Otherwise will be the index that this was added.
getIndex in interface TaskFlowType<F extends Enum<F>>TaskFlowType.public Class<?> getArgumentType()
TaskFlowTypeTask to the
JobSequence.
getArgumentType in interface TaskFlowType<F extends Enum<F>>JobSequence. May be null
to indicate no argument.public F getKey()
TaskFlowTypeEnum key for the TaskFlowType.
getKey in interface TaskFlowType<F extends Enum<F>>Enum key for the TaskFlowType. May be
null if no Enum for flows.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||