public final class XmlStructFactory extends Object
Modifier and Type | Method and Description |
---|---|
static Properties |
getConfiguration(Node node)
Constructs a new
WorkflowTaskConfiguration from the given XML node. |
static Metadata |
getConfigurationAsMetadata(Node configNode) |
static List |
getRequiredMetFields(Node node) |
static Workflow |
getWorkflow(Node node,
HashMap tasks,
HashMap conditions)
Creates
Workflow s from the XML Node and the map of existing
WorkflowTask s. |
static WorkflowCondition |
getWorkflowCondition(Node node)
Constructs a new
WorkflowCondition from the given XML Node. |
static WorkflowTask |
getWorkflowTask(Node node,
HashMap conditions)
|
public static Logger LOG
public static Workflow getWorkflow(Node node, HashMap tasks, HashMap conditions)
Creates Workflow
s from the XML Node and the map of existing
WorkflowTask
s.
node
- The XML node to construct the Workflow from.tasks
- The HashMap
of existing WorkflowTask
s.conditions
- The HashMap
of existing WorkflowCondition
s.Workflow
created from the XML node.public static WorkflowTask getWorkflowTask(Node node, HashMap conditions)
Constructs a new WorkflowTask
from the given XML node and
HashMap
of WorkflowCondition
s.
node
- The XML node to construct the WorkflowTask
from.conditions
- The HashMap
of WorkflowCondition
s to use when
constructing the WorkflowTask.WorkflowTask
created from the given XML node.public static WorkflowCondition getWorkflowCondition(Node node)
Constructs a new WorkflowCondition
from the given XML Node.
node
- The XML node to construct the WorkflowCondition from.WorkflowCondition
from the given XML node.public static Properties getConfiguration(Node node)
Constructs a new WorkflowTaskConfiguration
from the given XML node.
node
- The XML node to construct the WorkflowTaskConfiguration from.WorkflowTaskConfiguration
constructed from the given
XML node.Copyright © 1999-2014 Apache OODT. All Rights Reserved.