|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MultiInstantiator
Implementing this interface is required to get multi-instantiation feature.
This feature allows to get multiple instantiations of an activity.
Into the xpdl file, this feature is specified within an external attributes of the Activity element.
The name of the external attribute is MultiInstantiation.
There is two child elements defining the MultiInstantiation:
Method Summary | |
---|---|
MultiInstantiatorDescriptor |
execute(QueryAPIAccessor accessor,
ProcessInstanceUUID instanceUUID,
java.lang.String activityId,
java.lang.String iterationId)
Method of the interface to be implemented. |
Method Detail |
---|
MultiInstantiatorDescriptor execute(QueryAPIAccessor accessor, ProcessInstanceUUID instanceUUID, java.lang.String activityId, java.lang.String iterationId) throws java.lang.Exception
This method must return an MultiInstantiatorDescriptor.
Parameters to construct this returned object must respect the following conditions:
accessor
- The QueryAPIAccessor interface to access: QueryRuntimeAPI or QueryDefinitionAPI.instanceUUID
- Id of the instance.activityId
- Id of the activity.iterationId
- Id of the iteration.
MultiInstantiatorDescriptor
that describes the number of activities to instantiate.
java.lang.Exception
- If an Exception has occurred.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |