|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.oodt.cas.workflow.util.GenericWorkflowObjectFactory
public final class GenericWorkflowObjectFactory
Generic Workflow object construction utilities.
Field Summary | |
---|---|
static Logger |
LOG
|
Method Summary | |
---|---|
static WorkflowCondition |
copyCondition(WorkflowCondition c)
|
static List |
copyConditions(List conditionList)
Creates copies of each WorkflowCondition within the specified
List of WorkflowConditions specified by conditionList . |
static WorkflowTask |
copyTask(WorkflowTask t)
|
static List |
copyTasks(List taskList)
Creates copies of each WorkflowTask within the specified
List of WorkflowTasks specified by taskList . |
static Workflow |
copyWorkflow(Workflow w)
Creates an exact copy of the specified Workflow w ,
allocating new memory for the new object, and then returning it. |
static List |
copyWorkflows(List workflows)
|
static WorkflowConditionInstance |
getConditionObjectFromClassName(String className)
Constructs a WorkflowConditionInstance from the given implementation
class name. |
static WorkflowTaskInstance |
getTaskObjectFromClassName(String className)
Constructs a WorkflowTaskInstance from the given implementation
class name. |
static WorkflowInstanceRepository |
getWorkflowInstanceRepositoryFromClassName(String serviceFactory)
|
static Workflow |
getWorkflowObjectFromClassName(String className)
Constructs a Workflow instance from the given implementation
class name. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static Logger LOG
Method Detail |
---|
public static WorkflowInstanceRepository getWorkflowInstanceRepositoryFromClassName(String serviceFactory)
public static WorkflowTaskInstance getTaskObjectFromClassName(String className)
Constructs a WorkflowTaskInstance
from the given implementation
class name.
className
- The String name of the class (including package qualifiers)
that implements the WorkflowTaskInstance interface to
construct.
WorkflowTaskInstance
implementation specified by
its class name.public static WorkflowConditionInstance getConditionObjectFromClassName(String className)
Constructs a WorkflowConditionInstance
from the given implementation
class name.
className
- The String name of the class (including package qualifiers)
that implements the WorkflowConditionInstance interface to construct.
WorkflowConditionInstance
implementation specified by its class
name.public static Workflow getWorkflowObjectFromClassName(String className)
Constructs a Workflow
instance from the given implementation
class name.
className
- The String name of the class (including package qualifiers)
that implements the Workflow interface to construct.
Workflow
implementation specified by its class
name.public static List copyWorkflows(List workflows)
public static Workflow copyWorkflow(Workflow w)
Creates an exact copy of the specified Workflow
w
,
allocating new memory for the new object, and then returning it. The Workflow's
WorkflowTask
s and WorkflowCondition
s on those tasks are also constructed
anew, and copied from their original instances.
w
- The Workflow object to create a copy of.
public static List copyTasks(List taskList)
Creates copies of each WorkflowTask
within the specified
List
of WorkflowTasks specified by taskList
. The new
List of WorkflowTasks is returned.
taskList
- The original List of WorkflowTasks to copy.
public static WorkflowTask copyTask(WorkflowTask t)
public static List copyConditions(List conditionList)
Creates copies of each WorkflowCondition
within the specified
List
of WorkflowConditions specified by conditionList
. The new
List of WorkflowConditions is returned.
conditionList
- The original List of WorkflowConditions to copy.
public static WorkflowCondition copyCondition(WorkflowCondition c)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |