Package org.alfresco.repo.action.script
Class ScriptActionTrackingService
java.lang.Object
org.alfresco.repo.processor.BaseProcessorExtension
org.alfresco.repo.jscript.BaseScopableProcessorExtension
org.alfresco.repo.action.script.ScriptActionTrackingService
- All Implemented Interfaces:
org.alfresco.processor.ProcessorExtension,Scopeable
Script object representing the action tracking service.
- Author:
- Nick Burch
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionRetrieve summary details of all the actions currently executing.getExecutingActions(String type) Retrieve summary details of all the actions of the given type that are currently executing.getExecutingActions(Action action) Retrieve summary details of all instances of the specified action that are currently executing.voidRequests that the specified Action cancel itself and aborts execution, as soon as possible.voidsetActionTrackingService(ActionTrackingService actionTrackingService) Set the action tracking service.voidsetServiceRegistry(ServiceRegistry serviceRegistry) Set the service registryMethods inherited from class org.alfresco.repo.jscript.BaseScopableProcessorExtension
getScope, setScopeMethods inherited from class org.alfresco.repo.processor.BaseProcessorExtension
getExtensionName, register, setExtensionName, setProcessor
-
Constructor Details
-
ScriptActionTrackingService
public ScriptActionTrackingService()
-
-
Method Details
-
setServiceRegistry
Set the service registry- Parameters:
serviceRegistry- the service registry.
-
setActionTrackingService
Set the action tracking service.- Parameters:
actionTrackingService- the action tracking service
-
requestActionCancellation
Requests that the specified Action cancel itself and aborts execution, as soon as possible. -
getAllExecutingActions
Retrieve summary details of all the actions currently executing. -
getExecutingActions
Retrieve summary details of all the actions of the given type that are currently executing. -
getExecutingActions
Retrieve summary details of all instances of the specified action that are currently executing.
-