org.apache.oodt.cas.workflow.structs
Class WorkflowCondition

java.lang.Object
  extended by org.apache.oodt.cas.workflow.structs.WorkflowCondition

public class WorkflowCondition
extends Object

A WorkflowCondition is some pre-condition that must evaluate to true in order for a particular WorkflowTask to be permitted to execute .

Version:
$Revision$
Author:
mattmann

Field Summary
protected  WorkflowConditionConfiguration condConfig
           
protected  String conditionInstanceClassName
           
protected  int order
           
 
Constructor Summary
WorkflowCondition()
           Default Constructor
WorkflowCondition(String conditionName, String conditionId, String instanceClass, int order)
           Constructs a new WorkflowCondition with the specified parameters.
 
Method Summary
 WorkflowConditionConfiguration getCondConfig()
           
 String getConditionId()
           
 String getConditionInstanceClassName()
           
 String getConditionName()
           
 int getOrder()
           
 WorkflowConditionConfiguration getTaskConfig()
          Deprecated. 
 void setCondConfig(WorkflowConditionConfiguration condConfig)
           
 void setConditionId(String conditionId)
           
 void setConditionInstanceClassName(String conditionInstanceClassName)
           
 void setConditionName(String conditionName)
           
 void setOrder(int order)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

conditionInstanceClassName

protected String conditionInstanceClassName

order

protected int order

condConfig

protected WorkflowConditionConfiguration condConfig
Constructor Detail

WorkflowCondition

public WorkflowCondition()

Default Constructor


WorkflowCondition

public WorkflowCondition(String conditionName,
                         String conditionId,
                         String instanceClass,
                         int order)

Constructs a new WorkflowCondition with the specified parameters.

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.
Method Detail

getTaskConfig

@Deprecated
public WorkflowConditionConfiguration getTaskConfig()
Deprecated. 

Returns:
Returns the taskConfig.

setCondConfig

public void setCondConfig(WorkflowConditionConfiguration condConfig)
Parameters:
taskConfig - The taskConfig to set.

getCondConfig

public WorkflowConditionConfiguration getCondConfig()
Returns:
Returns the condConfig

getConditionId

public String getConditionId()
Returns:
Returns the conditionId.

setConditionId

public void setConditionId(String conditionId)
Parameters:
conditionId - The conditionId to set.

getConditionName

public String getConditionName()
Returns:
Returns the conditionName.

setConditionName

public void setConditionName(String conditionName)
Parameters:
conditionName - The conditionName to set.

getConditionInstanceClassName

public String getConditionInstanceClassName()
Returns:
Returns the conditionInstanceClassName.

setConditionInstanceClassName

public void setConditionInstanceClassName(String conditionInstanceClassName)
Parameters:
conditionInstanceClassName - The conditionInstanceClassName to set.

getOrder

public int getOrder()
Returns:
Returns the order.

setOrder

public void setOrder(int order)
Parameters:
order - The order to set.


Copyright © 1999-2011 Apache OODT. All Rights Reserved.