public class IfTaskHolder extends AbstractTaskHolder
CLONE_ALL_OUTPUT, CLONE_MULTIPLE_OUTPUT, COPY_OUTPUT, ESSENTIAL, ESSENTIAL_IF_CONNECTED, IMMEDIATE_UPDATE, INTERNAL, LATE_INITIALIZE, NO_UPDATE, ON_TASK_INSTANTATION, ON_USER_ACCESS, OPTIONAL, PROCESS_UPDATE, TRANSIENT, TRANSIENT_ACCESSIBLE, USER_ACCESSIBLE
Constructor and Description |
---|
IfTaskHolder() |
Modifier and Type | Method and Description |
---|---|
void |
addElseNode(Node node)
Adds the else node.
|
void |
addIfNode(Node node)
Adds the if node.
|
boolean |
conditionSatisfied()
Condition satisfied.
|
void |
init()
This function is called when the unit is first created.
|
void |
process()
The main unit algorithm.
|
void |
setReadableCondition(java.lang.String readableCondition)
Sets the readable condition.
|
getInputTypes, getIWIRTask, getOutputTypes, registerIWIRTask, setIWIRTask
debug, debug, defineParameter, dispose, extractClipInState, getClipIn, getClipIn, getControlInterface, getDefaultInputNodes, getDefaultNodeRequirement, getDefaultOutputNodes, getDisplayName, getDisplayPackage, getGUIBuilderV2Info, getHelpFileLocation, getInputAtNode, getInputNodeCount, getMaximumInputNodes, getMaximumOutputNodes, getMinimumInputNodes, getMinimumOutputNodes, getNodeInputTypes, getNodeOutputTypes, getOutputNodeCount, getOutputPolicy, getPackageName, getParameter, getParameterPanelClass, getParameterPanelInstantiate, getParameterType, getParameterUpdatePolicy, getPopUpDescription, getRunnableInterface, getTask, getTaskGraphContext, getToolName, getToolPackage, getToolTable, getVersion, hideParameterPanel, isClipInName, isInputAtNode, isOutputSent, isParameter, log, log, notifyError, notifyError, output, outputAtNode, outputAtNode, parameterUpdate, parameterUpdated, putClipIn, removeClipIn, removeParameter, reset, restoreClipInState, setDefaultInputNodes, setDefaultNodeRequirement, setDefaultOutputNodes, setDisplayName, setDisplayPackage, setGUIBuilderV2Info, setHelpFileLocation, setMaximumInputNodes, setMaximumOutputNodes, setMinimumInputNodes, setMinimumOutputNodes, setOutputPolicy, setParameter, setParameterPanelClass, setParameterPanelInstantiate, setParameterUpdatePolicy, setPopUpDescription, setRunnableInterface, setToolName, setToolPackage, setVersion, showParameterPanel, stopping
public void process() throws java.lang.Exception
Unit
public void init()
Unit
init
in class AbstractTaskHolder
public void addIfNode(Node node)
node
- the nodepublic void addElseNode(Node node)
node
- the nodepublic boolean conditionSatisfied()
public void setReadableCondition(java.lang.String readableCondition)
readableCondition
- the new readable condition