org.camunda.bpm.engine.runtime
Interface ActivityInstance

All Superinterfaces:
ProcessElementInstance
All Known Implementing Classes:
ActivityInstanceImpl

public interface ActivityInstance
extends ProcessElementInstance

An activity instance represents an instance of an activity.

For documentation, see RuntimeService.getActivityInstance(String)

Author:
Daniel Meyer

Method Summary
 String getActivityId()
          the id of the activity
 String getActivityName()
          the name of the activity
 ActivityInstance[] getChildActivityInstances()
          Returns the child activity instances.
 TransitionInstance[] getChildTransitionInstances()
          Returns the child transition instances.
 String[] getExecutionIds()
          the list of executions that are currently waiting in this activity instance
 
Methods inherited from interface org.camunda.bpm.engine.runtime.ProcessElementInstance
getId, getParentActivityInstanceId, getProcessDefinitionId, getProcessInstanceId
 

Method Detail

getActivityId

String getActivityId()
the id of the activity


getActivityName

String getActivityName()
the name of the activity


getChildActivityInstances

ActivityInstance[] getChildActivityInstances()
Returns the child activity instances. Returns an empty list if there are no child instances


getChildTransitionInstances

TransitionInstance[] getChildTransitionInstances()
Returns the child transition instances. Returns an empty list if there are no child transition instances


getExecutionIds

String[] getExecutionIds()
the list of executions that are currently waiting in this activity instance



Copyright © 2014 camunda services GmbH. All Rights Reserved.