public class TaskConfiguration
extends java.lang.Object
Constructor and Description |
---|
TaskConfiguration(YAWLTask task,
NetGraphModel model) |
Modifier and Type | Method and Description |
---|---|
void |
addInputPort(CPort port) |
void |
addOutputPort(CPort port) |
void |
configureReset() |
void |
generateInputCPorts()
Created by Jingxin XU 13/01/2010
refactored MA 25/10/10
This method construct the configurable input ports
|
void |
generateOutputCPorts()
Created by Jingxin XU 13/01/2010
refactored MA 25/10/10
This method construct the configurable output ports
|
MultipleInstanceTaskConfigSet |
getConfigurationInfor() |
NetGraphModel |
getGraphModel() |
java.util.List<CPort> |
getInputCPorts() |
int |
getMaxCPortID(java.util.List<CPort> ports) |
int |
getNextCPortID(int portType) |
java.util.List<CPort> |
getOutputCPorts()
Created by Jingxin Xu 13/01/2010
|
YAWLTask |
getTask() |
boolean |
hasDefaultInputPorts() |
boolean |
hasDefaultOutputPorts() |
void |
initMITask()
Created by Jingxin Xu 13/01/2010
|
boolean |
isCancellationSetEnable() |
boolean |
isConfigurable()
This is the get method of configurable;
Jingxin Xu
|
void |
removeInputPort(CPort port) |
void |
removeInputPort(YAWLFlowRelation flow) |
void |
removeOutputPort(CPort port) |
void |
removeOutputPort(YAWLFlowRelation flow) |
void |
resetCPortsID()
After applying configuration, some ports have been removed.
|
void |
setCancellationSetEnable(boolean cancellationSetEnable) |
void |
setConfigurable(boolean newSetting)
This is the set method of configurable;
|
void |
setInputCPorts(java.util.List<CPort> inputCPorts) |
void |
setOutputCPorts(java.util.List<CPort> outputCPorts) |
public TaskConfiguration(YAWLTask task, NetGraphModel model)
public YAWLTask getTask()
public NetGraphModel getGraphModel()
public void initMITask()
public MultipleInstanceTaskConfigSet getConfigurationInfor()
public java.util.List<CPort> getInputCPorts()
public java.util.List<CPort> getOutputCPorts()
public int getNextCPortID(int portType)
public int getMaxCPortID(java.util.List<CPort> ports)
public void generateInputCPorts()
public void generateOutputCPorts()
public boolean isConfigurable()
public void setConfigurable(boolean newSetting)
public void configureReset()
public void removeInputPort(CPort port)
public void removeOutputPort(CPort port)
public void removeOutputPort(YAWLFlowRelation flow)
public void removeInputPort(YAWLFlowRelation flow)
public void addInputPort(CPort port)
public void addOutputPort(CPort port)
public void resetCPortsID()
public boolean isCancellationSetEnable()
public void setCancellationSetEnable(boolean cancellationSetEnable)
public void setInputCPorts(java.util.List<CPort> inputCPorts)
public void setOutputCPorts(java.util.List<CPort> outputCPorts)
public boolean hasDefaultInputPorts()
public boolean hasDefaultOutputPorts()