public class XmlRpcWorkflowManager extends Object
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_WEB_SERVER_PORT |
static String |
ENGINE_RUNNER_FACTORY_PROPERTY |
static String |
PROPERTIES_FILE_PROPERTY |
static String |
WORKFLOW_ENGINE_FACTORY_PROPERTY |
static String |
WORKFLOW_REPOSITORY_FACTORY_PROPERTY |
static String |
XML_RPC_HANDLER_NAME |
Constructor and Description |
---|
XmlRpcWorkflowManager() |
XmlRpcWorkflowManager(int port) |
public static final int DEFAULT_WEB_SERVER_PORT
public static final String XML_RPC_HANDLER_NAME
public static final String PROPERTIES_FILE_PROPERTY
public static final String WORKFLOW_ENGINE_FACTORY_PROPERTY
public static final String ENGINE_RUNNER_FACTORY_PROPERTY
public static final String WORKFLOW_REPOSITORY_FACTORY_PROPERTY
public XmlRpcWorkflowManager()
public XmlRpcWorkflowManager(int port)
public boolean shutdown()
public String executeDynamicWorkflow(Vector<String> taskIds, Hashtable metadata) throws RepositoryException, EngineException
RepositoryException
EngineException
public Vector getRegisteredEvents() throws RepositoryException
RepositoryException
public Hashtable getFirstPage()
public Hashtable getLastPage()
public Hashtable paginateWorkflowInstances(int pageNum, String status) throws InstanceRepositoryException
InstanceRepositoryException
public Hashtable paginateWorkflowInstances(int pageNum) throws InstanceRepositoryException
InstanceRepositoryException
public Vector getWorkflowsByEvent(String eventName) throws RepositoryException
RepositoryException
public boolean handleEvent(String eventName, Hashtable metadata) throws RepositoryException, EngineException
RepositoryException
EngineException
public Hashtable getWorkflowInstanceById(String wInstId) throws EngineException
EngineException
public boolean stopWorkflowInstance(String workflowInstId)
public boolean pauseWorkflowInstance(String workflowInstId)
public boolean resumeWorkflowInstance(String workflowInstId)
public double getWorkflowWallClockMinutes(String workflowInstId)
public double getWorkflowCurrentTaskWallClockMinutes(String workflowInstId)
public int getNumWorkflowInstancesByStatus(String status) throws InstanceRepositoryException
InstanceRepositoryException
public int getNumWorkflowInstances() throws InstanceRepositoryException
InstanceRepositoryException
public Vector getWorkflowInstancesByStatus(String status) throws EngineException
EngineException
public Vector getWorkflowInstances() throws EngineException
EngineException
public Vector getWorkflows() throws RepositoryException
RepositoryException
public Hashtable getTaskById(String taskId) throws RepositoryException
RepositoryException
public Hashtable getConditionById(String conditionId) throws RepositoryException
RepositoryException
public Hashtable getWorkflowById(String workflowId) throws RepositoryException
RepositoryException
public boolean updateMetadataForWorkflow(String workflowInstId, Hashtable metadata)
public boolean updateWorkflowInstance(Hashtable workflowInst)
public boolean setWorkflowInstanceCurrentTaskStartDateTime(String wInstId, String startDateTimeIsoStr)
public boolean setWorkflowInstanceCurrentTaskEndDateTime(String wInstId, String endDateTimeIsoStr)
public boolean updateWorkflowInstanceStatus(String workflowInstanceId, String status) throws Exception
Exception
public static void loadProperties() throws FileNotFoundException, IOException
FileNotFoundException
IOException
Copyright © 1999-2014 Apache OODT. All Rights Reserved.