public final class GenericWorkflowObjectFactory extends Object
Modifier and Type | Method and Description |
---|---|
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 EngineRunner |
getEngineRunnerFromClassName(String engineFactory) |
static PrioritySorter |
getPrioritySorterFromClassName(String className) |
static WorkflowTaskInstance |
getTaskObjectFromClassName(String className)
Constructs a
WorkflowTaskInstance from the given implementation
class name. |
static WorkflowTaskInstance |
getTaskObjectFromInnerClassName(Class<?> enclosingInstance,
String className)
Constructs a
WorkflowTaskInstance from the given implementation
class name. |
static WorkflowEngine |
getWorkflowEngineFromClassName(String engineFactory) |
static WorkflowInstanceRepository |
getWorkflowInstanceRepositoryFromClassName(String serviceFactory) |
static Workflow |
getWorkflowObjectFromClassName(String className)
Constructs a
Workflow instance from the given implementation
class name. |
static WorkflowRepository |
getWorkflowRepositoryFromClassName(String repositoryFactory) |
public static Logger LOG
public static WorkflowEngine getWorkflowEngineFromClassName(String engineFactory)
public static EngineRunner getEngineRunnerFromClassName(String engineFactory)
public static WorkflowRepository getWorkflowRepositoryFromClassName(String repositoryFactory)
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 WorkflowTaskInstance getTaskObjectFromInnerClassName(Class<?> enclosingInstance, String className)
Constructs a WorkflowTaskInstance
from the given implementation
class name.
className
- The String name of the inner 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 PrioritySorter getPrioritySorterFromClassName(String className)
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)
Copyright © 1999–2017 Apache OODT. All rights reserved.