org.mule.module.jbpm
Class EndedProcess
java.lang.Object
org.mule.module.jbpm.EndedProcess
- All Implemented Interfaces:
- java.io.Serializable, org.jbpm.api.Execution, org.jbpm.api.ProcessInstance
public class EndedProcess
- extends java.lang.Object
- implements org.jbpm.api.ProcessInstance
Placeholder used to get status for a process in a uniform way, even if it has ended.
- See Also:
- Serialized Form
Fields inherited from interface org.jbpm.api.Execution |
STATE_ACTIVE_CONCURRENT, STATE_ACTIVE_ROOT, STATE_ASYNC, STATE_CREATED, STATE_ENDED, STATE_INACTIVE_CONCURRENT_ROOT, STATE_INACTIVE_JOIN, STATE_INACTIVE_SCOPE, STATE_SUSPENDED |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EndedProcess
public EndedProcess(java.lang.String id)
getId
public java.lang.String getId()
- Specified by:
getId
in interface org.jbpm.api.Execution
isEnded
public boolean isEnded()
- Specified by:
isEnded
in interface org.jbpm.api.Execution
findActiveActivityNames
public java.util.Set<java.lang.String> findActiveActivityNames()
- Specified by:
findActiveActivityNames
in interface org.jbpm.api.Execution
findActiveExecutionIn
public org.jbpm.api.Execution findActiveExecutionIn(java.lang.String activityName)
- Specified by:
findActiveExecutionIn
in interface org.jbpm.api.Execution
getExecution
public org.jbpm.api.Execution getExecution(java.lang.String name)
- Specified by:
getExecution
in interface org.jbpm.api.Execution
getExecutions
public java.util.Collection<? extends org.jbpm.api.Execution> getExecutions()
- Specified by:
getExecutions
in interface org.jbpm.api.Execution
getExecutionsMap
public java.util.Map<java.lang.String,org.jbpm.api.Execution> getExecutionsMap()
- Specified by:
getExecutionsMap
in interface org.jbpm.api.Execution
getIsProcessInstance
public boolean getIsProcessInstance()
- Specified by:
getIsProcessInstance
in interface org.jbpm.api.Execution
getKey
public java.lang.String getKey()
- Specified by:
getKey
in interface org.jbpm.api.Execution
getName
public java.lang.String getName()
- Specified by:
getName
in interface org.jbpm.api.Execution
getParent
public org.jbpm.api.Execution getParent()
- Specified by:
getParent
in interface org.jbpm.api.Execution
getPriority
public int getPriority()
- Specified by:
getPriority
in interface org.jbpm.api.Execution
getProcessDefinitionId
public java.lang.String getProcessDefinitionId()
- Specified by:
getProcessDefinitionId
in interface org.jbpm.api.Execution
getProcessInstance
public org.jbpm.api.Execution getProcessInstance()
- Specified by:
getProcessInstance
in interface org.jbpm.api.Execution
getSubProcessInstance
public org.jbpm.api.Execution getSubProcessInstance()
- Specified by:
getSubProcessInstance
in interface org.jbpm.api.Execution
getState
public java.lang.String getState()
- Specified by:
getState
in interface org.jbpm.api.Execution
hasExecution
public boolean hasExecution(java.lang.String executionName)
- Specified by:
hasExecution
in interface org.jbpm.api.Execution
isActive
public boolean isActive(java.lang.String activityName)
- Specified by:
isActive
in interface org.jbpm.api.Execution
isSuspended
public boolean isSuspended()
- Specified by:
isSuspended
in interface org.jbpm.api.Execution
Copyright © 2003-2010 MuleSoft, Inc.. All Rights Reserved.