public interface CancellableAction extends Action
ActionTrackingService if a cancel of it has
been requested, and orderly terminating itself if so.
Actions implementing this should, via their
ActionExecuter, periodically call
ActionTrackingService.isCancellationRequested(CancellableAction)
to check if a cancel has been requested for them.
If it has, they should tidy up as much as possible, and then throw
a ActionCancelledException to indicate to the
ActionService that they ceased running due to a
cancel.addActionCondition, addActionCondition, addParameterValues, getActionCondition, getActionConditions, getActionDefinitionName, getCompensatingAction, getCreatedDate, getCreator, getDescription, getExecuteAsychronously, getExecutionEndDate, getExecutionFailureMessage, getExecutionStartDate, getExecutionStatus, getModifiedDate, getModifier, getNodeRef, getTitle, getTrackStatus, hasActionConditions, indexOfActionCondition, removeActionCondition, removeAllActionConditions, setActionCondition, setCompensatingAction, setDescription, setExecuteAsynchronously, setTitle, setTrackStatusgetId, getParameterValue, getParameterValues, setParameterValue, setParameterValuesCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.