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

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

public class WorkflowTask
extends Object

Version:
$Revision$

A Workflow task, or job, or process.

Author:
mattmann

Field Summary
protected  List conditions
           
protected  int order
           
protected  List requiredMetFields
           
protected  WorkflowTaskConfiguration taskConfig
           
protected  String taskId
           
protected  String taskInstanceClassName
           
protected  String taskName
           
 
Constructor Summary
WorkflowTask()
           Default Constructor.
WorkflowTask(String taskId, String taskName, WorkflowTaskConfiguration taskConfig, List conditions, String taskInstanceClassName, int order)
           
 
Method Summary
 List getConditions()
           
 int getOrder()
           
 List getRequiredMetFields()
           
 WorkflowTaskConfiguration getTaskConfig()
           
 String getTaskId()
           
 String getTaskInstanceClassName()
           
 String getTaskName()
           
 void setConditions(List conditions)
           Sets the List of WorkflowConditions associated with this task.
 void setOrder(int order)
           
 void setRequiredMetFields(List requiredMetFields)
           
 void setTaskConfig(WorkflowTaskConfiguration taskConfig)
           
 void setTaskId(String taskId)
           
 void setTaskInstanceClassName(String taskInstanceClassName)
           
 void setTaskName(String taskName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

taskId

protected String taskId

taskName

protected String taskName

taskConfig

protected WorkflowTaskConfiguration taskConfig

conditions

protected List conditions

taskInstanceClassName

protected String taskInstanceClassName

order

protected int order

requiredMetFields

protected List requiredMetFields
Constructor Detail

WorkflowTask

public WorkflowTask()

Default Constructor.


WorkflowTask

public WorkflowTask(String taskId,
                    String taskName,
                    WorkflowTaskConfiguration taskConfig,
                    List conditions,
                    String taskInstanceClassName,
                    int order)
Parameters:
taskId - The unique ID for this WorkflowTask.
taskName - The display name for this WorkflowTask.
taskConfig - The static configuration parameters for this WorkflowTask.
conditions - The List of conditions attached to this WorkflowTask (if any).
taskInstanceClassName - The instance class name for this WorkflowTask.
order - The order in which this WorkflowTask is executed within a Workflow.
Method Detail

getTaskConfig

public WorkflowTaskConfiguration getTaskConfig()
Returns:
Returns the taskConfig.

setTaskConfig

public void setTaskConfig(WorkflowTaskConfiguration taskConfig)
Parameters:
taskConfig - The taskConfig to set.

getTaskId

public String getTaskId()
Returns:
Returns the taskId.

setTaskId

public void setTaskId(String taskId)
Parameters:
taskId - The taskId to set.

getTaskInstanceClassName

public String getTaskInstanceClassName()
Returns:
Returns the taskInstanceClassName.

setTaskInstanceClassName

public void setTaskInstanceClassName(String taskInstanceClassName)
Parameters:
taskInstanceClassName - The taskInstanceClassName to set.

getTaskName

public String getTaskName()
Returns:
Returns the taskName.

setTaskName

public void setTaskName(String taskName)
Parameters:
taskName - The taskName to set.

getConditions

public List getConditions()
Returns:
A List of WorkflowConditions associated with this task.

setConditions

public void setConditions(List conditions)

Sets the List of WorkflowConditions associated with this task.

Parameters:
conditions - The condition List.

getOrder

public int getOrder()
Returns:
Returns the order.

setOrder

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

getRequiredMetFields

public List getRequiredMetFields()
Returns:
the requiredMetFields

setRequiredMetFields

public void setRequiredMetFields(List requiredMetFields)
Parameters:
requiredMetFields - the requiredMetFields to set


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