com.polarion.alm.tracker.workflow.ICallContext


METHODS
Modifiers and TypeNameDescription
ITrackerService getTrackerService() Returns the tracker service.
T getTarget() Returns the object, on which the workflow is executed.
String getActionId() Returns the native action id.
String getTargetStatusId() Returns the target status id.
Collection getModifiedObjects() Returns all objects that were marked as modified. The result will contain the objects included by calling prepareObjectForModification(IPObject) and the work item associated with this context.
S prepareObjectForModification(S) Returns a IPObject that can be modified in a workflow operation.

This method is used to keep track of objects modified during the workflow operation and to ensure, that all workflow functions do modify the same instance of object.

The result of {@link #getTarget()} is already modification-ready and doesn't have to be passed through this method.

IScriptContext scriptContext()

Back to Index