org.apache.oodt.cas.workflow.structs
Class WorkflowInstance
java.lang.Object
org.apache.oodt.cas.workflow.structs.WorkflowInstance
public class WorkflowInstance
- extends Object
- Version:
- $Revision$
A WorkflowInstance is an instantiation of the abstract description of a
Workflow provided by the Workflow class. WorkflowInstances have
status, and in general are data structures intended to be used as a means for
monitoring the status of an executing Workflow.
- Author:
- mattmann
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WorkflowInstance
public WorkflowInstance()
- Default Constructor.
WorkflowInstance
public WorkflowInstance(Workflow workflow,
String id,
String status,
String currentTaskId,
String startDateTimeIsoStr,
String endDateTimeIsoStr,
String currentTaskStartDateTimeIsoStr,
String currentTaskEndDateTimeIsoStr,
org.apache.oodt.cas.metadata.Metadata sharedContext)
- Parameters:
workflow - id - status - currentTaskId - startDateTimeIsoStr - endDateTimeIsoStr - currentTaskStartDateTimeIsoStr - currentTaskEndDateTimeIsoStr - sharedContext -
getId
public String getId()
- Returns:
- the id
setId
public void setId(String id)
- Parameters:
id - the id to set
getStatus
public String getStatus()
- Returns:
- the status
setStatus
public void setStatus(String status)
- Parameters:
status - the status to set
getWorkflow
public Workflow getWorkflow()
- Returns:
- the workflow
setWorkflow
public void setWorkflow(Workflow workflow)
- Parameters:
workflow - the workflow to set
getCurrentTaskId
public String getCurrentTaskId()
- Returns:
- the currentTaskId
setCurrentTaskId
public void setCurrentTaskId(String currentTaskId)
- Parameters:
currentTaskId - the currentTaskId to set
getEndDateTimeIsoStr
public String getEndDateTimeIsoStr()
- Returns:
- the endDateTimeIsoStr
setEndDateTimeIsoStr
public void setEndDateTimeIsoStr(String endDateTimeIsoStr)
- Parameters:
endDateTimeIsoStr - the endDateTimeIsoStr to set
getStartDateTimeIsoStr
public String getStartDateTimeIsoStr()
- Returns:
- the startDateTimeIsoStr
setStartDateTimeIsoStr
public void setStartDateTimeIsoStr(String startDateTimeIsoStr)
- Parameters:
startDateTimeIsoStr - the startDateTimeIsoStr to set
getCurrentTaskEndDateTimeIsoStr
public String getCurrentTaskEndDateTimeIsoStr()
- Returns:
- the currentTaskEndDateTimeIsoStr
setCurrentTaskEndDateTimeIsoStr
public void setCurrentTaskEndDateTimeIsoStr(String currentTaskEndDateTimeIsoStr)
- Parameters:
currentTaskEndDateTimeIsoStr - the currentTaskEndDateTimeIsoStr to set
getCurrentTaskStartDateTimeIsoStr
public String getCurrentTaskStartDateTimeIsoStr()
- Returns:
- the currentTaskStartDateTimeIsoStr
setCurrentTaskStartDateTimeIsoStr
public void setCurrentTaskStartDateTimeIsoStr(String currentTaskStartDateTimeIsoStr)
- Parameters:
currentTaskStartDateTimeIsoStr - the currentTaskStartDateTimeIsoStr to set
getSharedContext
public org.apache.oodt.cas.metadata.Metadata getSharedContext()
- Returns:
- the sharedContext
setSharedContext
public void setSharedContext(org.apache.oodt.cas.metadata.Metadata sharedContext)
- Parameters:
sharedContext - the sharedContext to set
Copyright © 1999-2011 Apache OODT. All Rights Reserved.