public final class XmlRpcStructFactory extends Object
public static Map getXmlRpcWorkflowInstancePage(WorkflowInstancePage page)
HashMap representation of a WorkflowInstancePage
that is serializable over the XML-RPC wire.page - The WorkflowInstancePage to turn into a Hashtable.Hashtable representation of a
WorkflowInstancePage.public static WorkflowInstancePage getWorkflowInstancePageFromXmlRpc(Map pageHash)
WorkflowInstancePage off of the XML-RPC wire by converting
the XML-RPC HashMap representation of the page into a
WorkflowInstancePage.pageHash - The XML-RPC HashMap representation of this
WorkflowInstancePage.WorkflowInstancePage that this XML-RPC
HashMap provided represents.public static Map getXmlRpcWorkflowInstance(WorkflowInstance wInst)
Gets a HashMap representation of a WorkflowInstance to be
sent across the XML-RPC wire.
wInst - The WorkflowInstance to turned into a java.util.HashMap.HashMap representation of a WorkflowInstance.public static WorkflowInstance getWorkflowInstanceFromXmlRpc(Map workflowInstance)
public static List getWorkflowInstancesFromXmlRpc(Vector instsVector)
instsVector - The Vector of HashMap representations of
WorkflowInstances.List of WorkflowInstances from their
representations as HashMaps in XML-RPC.public static Vector getXmlRpcWorkflowInstances(List<WorkflowInstance> wInsts)
wInsts - The List of WorkflowInstances to serialize.Vector of HashMap
representations of WorkflowInstances.public static Map getXmlRpcWorkflow(Workflow w)
Gets a HashMap representation of a Workflow to be sent
across the XML-RPC wire.
w - The Workflow to be turned into a java.util.HashMapHashMap representation of a Workflow.public static Workflow getWorkflowFromXmlRpc(Map w)
Gets a Workflow from the XML-RPC HashMap version.
w - The HashMap to obtain a Workflow from.Workflow from the XML-RPC HashMap version.public static Map getXmlRpcWorkflowTask(WorkflowTask t)
Gets an XML-RPC version of the WorkflowTask to send over the wire.
t - The WorkflowTask to obtain an XML-RPC HashMap from.WorkflowTask to send over the
wire.public static Vector getXmlRpcWorkflowTasks(List tasks)
Gets a Vector representation of a List of
WorkflowTasks to be sent across the XML-RPC wire.
tasks - The List of WorkflowTasks.Vector representation of a List of
WorkflowTasks.public static WorkflowTask getWorkflowTaskFromXmlRpc(Map task)
Gets a WorkflowTask from an XML-RPC HashMap sent over the
wire.
task - The XML-RPC HashMap version of the WorkflowTask.WorkflowTask from an XML-RPC HashMap sent over
the wire.public static List getWorkflowTasksFromXmlRpc(Vector tsks)
Gets a List of WorkflowTasks from an XML-RPC Vector
.
tsks - The Vector of WorkflowTasks.List of WorkflowTasks from an XML-RPC
Vector.public static Map getXmlRpcWorkflowCondition(WorkflowCondition c)
Gets an XML-RPC HashMap representation of the
WorkflowCondition to send over the wire.
c - The WorkflowCondition to turn into an XML-RPC HashMap.HashMap representation of the
WorkflowCondition to send over the wire.public static Map getXmlRpcWorkflowConditionConfig(WorkflowConditionConfiguration conf)
WorkflowConditionConfiguration.conf - The WorkflowConditionConfiguration to transform into an
XML-RPC HashMap.WorkflowConditionConfiguration.public static Vector getXmlRpcWorkflowConditions(List conditions)
Gets a Vector representation of the List of
WorkflowConditions to be sent across the XML-RPC wire.
conditions - The List of WorkflowConditions to turn into a Vector.Vector representation of a List of
WorkflowConditions.public static List getWorkflowTaskReqMetFieldsFromXmlRpc(Vector fields)
fields - The fields required for this task.List of String met fields for this
WorkflowTask.public static Vector getXmlRpcWorkflowTaskReqMetFields(List metFields)
metFields - The required Metadata fields.List of Strings that are required for this
WorkflowTask.public static WorkflowCondition getWorkflowConditionFromXmlRpc(Map cond)
Gets a WorkflowCondition from an XML-RPC HashMap.
cond - The HashMap to turn into a real WorkflowCondition.WorkflowCondition from an XML-RPC HashMap.public static WorkflowConditionConfiguration getWorkflowConditionConfigurationFromXmlRpc(Map conf)
WorkflowConditionConfiguration from XML-RPC.conf - XML-RPC friendly HashMap representing a
WorkflowConditionConfiguration.WorkflowConditionConfiguration from XML-RPC.public static List getWorkflowConditionsFromXmlRpc(Vector conds)
Gets a List of WorkflowConditions from an XML-RPC
Vector.
conds - The Vector of WorkflowConditions.List of WorkflowConditions from an XML-RPC
Vector.public static Map getXmlRpcWorkflowTaskConfiguration(WorkflowTaskConfiguration config)
Gets a HashMap representation of the passed in
WorkflowTaskConfiguration's Properties to be sent across
the XML-RPC wire.
config - The WorkflowTaskConfiguration to convert to a HashMap.HashMap representation of the passed in
WorkflowTaskConfiguration's Properties.public static WorkflowTaskConfiguration getWorkflowTaskConfigurationFromXmlRpc(Map config)
Gets a WorkflowTaskConfiguration from an XML-RPC HashMap.
config - The original HashMap version of the WorkflowTaskConfiguration.WorkflowTaskConfiguration from an XML-RPC
HashMap.Copyright © 1999–2017 Apache OODT. All rights reserved.