public class XmlRpcWorkflowManagerClient extends Object
The XML RPC based workflow manager client.
Constructor and Description |
---|
XmlRpcWorkflowManagerClient(URL url)
Constructs a new XmlRpcWorkflowManagerClient with the given
url . |
public XmlRpcWorkflowManagerClient(URL url)
Constructs a new XmlRpcWorkflowManagerClient with the given
url
.
url
- The url pointer to the xml rpc workflow manager service.public String executeDynamicWorkflow(List<String> taskIds, Metadata metadata) throws Exception
Exception
public WorkflowInstancePage getFirstPage() throws Exception
Exception
public WorkflowInstancePage getNextPage(WorkflowInstancePage currentPage) throws Exception
Exception
public WorkflowInstancePage getPrevPage(WorkflowInstancePage currentPage) throws Exception
Exception
public WorkflowInstancePage getLastPage() throws Exception
Exception
public WorkflowInstancePage paginateWorkflowInstances(int pageNum, String status) throws Exception
Exception
public WorkflowInstancePage paginateWorkflowInstances(int pageNum) throws Exception
Exception
public List getWorkflowsByEvent(String eventName) throws Exception
Exception
public Metadata getWorkflowInstanceMetadata(String wInstId) throws Exception
Exception
public boolean setWorkflowInstanceCurrentTaskStartDateTime(String wInstId, String startDateTimeIsoStr) throws Exception
Exception
public double getWorkflowCurrentTaskWallClockMinutes(String workflowInstId) throws Exception
Exception
public double getWorkflowWallClockMinutes(String workflowInstId) throws Exception
Exception
public boolean stopWorkflowInstance(String workflowInstId) throws Exception
Exception
public boolean pauseWorkflowInstance(String workflowInstId) throws Exception
Exception
public boolean resumeWorkflowInstance(String workflowInstId) throws Exception
Exception
public boolean setWorkflowInstanceCurrentTaskEndDateTime(String wInstId, String endDateTimeIsoStr) throws Exception
Exception
public boolean updateWorkflowInstanceStatus(String workflowInstId, String status) throws Exception
Exception
public boolean updateWorkflowInstance(WorkflowInstance instance) throws Exception
Exception
public boolean updateMetadataForWorkflow(String workflowInstId, Metadata metadata) throws Exception
Exception
public boolean sendEvent(String eventName, Metadata metadata) throws Exception
Exception
public WorkflowTask getTaskById(String taskId) throws Exception
Exception
public WorkflowCondition getConditionById(String conditionId) throws Exception
Exception
public WorkflowInstance getWorkflowInstanceById(String wInstId) throws Exception
Exception
public Workflow getWorkflowById(String workflowId) throws Exception
Exception
public int getNumWorkflowInstancesByStatus(String status) throws Exception
Exception
public Vector getWorkflowInstancesByStatus(String status) throws Exception
Exception
public static void main(String[] args)
public URL getWorkflowManagerUrl()
public void setWorkflowManagerUrl(URL workflowManagerUrl)
workflowManagerUrl
- The workflowManagerUrl to set.Copyright © 1999-2015 Apache OODT. All Rights Reserved.