public class WorkflowCondition extends Object
WorkflowTask
to be permitted to execute .Modifier and Type | Field and Description |
---|---|
protected WorkflowConditionConfiguration |
condConfig |
protected String |
conditionInstanceClassName |
protected int |
order |
Constructor and Description |
---|
WorkflowCondition()
Default Constructor
|
WorkflowCondition(String conditionName,
String conditionId,
String instanceClass,
int order)
Constructs a new WorkflowCondition with the specified parameters.
|
Modifier and Type | Method and Description |
---|---|
WorkflowConditionConfiguration |
getCondConfig() |
String |
getConditionId() |
String |
getConditionInstanceClassName() |
String |
getConditionName() |
int |
getOrder() |
WorkflowConditionConfiguration |
getTaskConfig()
Deprecated.
|
long |
getTimeoutSeconds() |
boolean |
isOptional() |
void |
setCondConfig(WorkflowConditionConfiguration condConfig) |
void |
setConditionId(String conditionId) |
void |
setConditionInstanceClassName(String conditionInstanceClassName) |
void |
setConditionName(String conditionName) |
void |
setOptional(boolean optional) |
void |
setOrder(int order) |
void |
setTimeoutSeconds(long timeoutSeconds) |
protected String conditionInstanceClassName
protected int order
protected WorkflowConditionConfiguration condConfig
public WorkflowCondition()
Default Constructor
public WorkflowCondition(String conditionName, String conditionId, String instanceClass, int order)
Constructs a new WorkflowCondition with the specified parameters.
conditionName
- The display name of the condition.conditionId
- The ID for this condition.instanceClass
- The particular instance class name attached to this
WorkflowCondition.order
- The order in which this condition should be checked for a
particular WorkflowTask.@Deprecated public WorkflowConditionConfiguration getTaskConfig()
public void setCondConfig(WorkflowConditionConfiguration condConfig)
public WorkflowConditionConfiguration getCondConfig()
public String getConditionId()
public void setConditionId(String conditionId)
conditionId
- The conditionId to set.public String getConditionName()
public void setConditionName(String conditionName)
conditionName
- The conditionName to set.public String getConditionInstanceClassName()
public void setConditionInstanceClassName(String conditionInstanceClassName)
conditionInstanceClassName
- The conditionInstanceClassName to set.public int getOrder()
public void setOrder(int order)
order
- The order to set.public long getTimeoutSeconds()
public void setTimeoutSeconds(long timeoutSeconds)
timeoutSeconds
- the timeoutSeconds to setpublic boolean isOptional()
public void setOptional(boolean optional)
optional
- the optional to setCopyright © 1999–2017 Apache OODT. All rights reserved.