org.apache.oodt.cas.workflow.structs
Class WorkflowTask
java.lang.Object
org.apache.oodt.cas.workflow.structs.WorkflowTask
public class WorkflowTask
- extends Object
- Version:
- $Revision$
A Workflow task, or job, or process.
- Author:
- mattmann
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
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.
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 WorkflowCondition
s associated with
this task.
setConditions
public void setConditions(List conditions)
Sets the List
of WorkflowCondition
s 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.