Interface SubProcessActivityBehavior
-
- All Superinterfaces:
ActivityBehavior,java.io.Serializable
- All Known Implementing Classes:
CallActivityBehavior,ClassDelegate,MultiInstanceActivityBehavior,ParallelMultiInstanceBehavior,SequentialMultiInstanceBehavior
@Internal public interface SubProcessActivityBehavior extends ActivityBehavior
behavior for activities that delegate to a complete separate execution of a process definition. In BPMN terminology this can be used to implement a reusable subprocess.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcompleted(DelegateExecution execution)called after the process instance is destroyed for this activity to perform its outgoing control flow logic.voidcompleting(DelegateExecution execution, DelegateExecution subProcessInstance)called before the process instance is destroyed to allow this activity to extract data from the sub process instance.-
Methods inherited from interface org.activiti.engine.impl.delegate.ActivityBehavior
execute
-
-
-
-
Method Detail
-
completing
void completing(DelegateExecution execution, DelegateExecution subProcessInstance) throws java.lang.Exception
called before the process instance is destroyed to allow this activity to extract data from the sub process instance. No control flow should be done on the execution yet.- Throws:
java.lang.Exception
-
completed
void completed(DelegateExecution execution) throws java.lang.Exception
called after the process instance is destroyed for this activity to perform its outgoing control flow logic.- Throws:
java.lang.Exception
-
-