public class ScriptActionTrackingService extends BaseScopableProcessorExtension
Constructor and Description |
---|
ScriptActionTrackingService() |
Modifier and Type | Method and Description |
---|---|
ScriptExecutionDetails[] |
getAllExecutingActions()
Retrieve summary details of all the actions
currently executing.
|
ScriptExecutionDetails[] |
getExecutingActions(Action action)
Retrieve summary details of all instances of
the specified action that are currently
executing.
|
ScriptExecutionDetails[] |
getExecutingActions(String type)
Retrieve summary details of all the actions
of the given type that are currently executing.
|
void |
requestActionCancellation(ScriptExecutionDetails action)
Requests that the specified Action cancel itself
and aborts execution, as soon as possible.
|
void |
setActionTrackingService(ActionTrackingService actionTrackingService)
Set the action tracking service.
|
void |
setServiceRegistry(ServiceRegistry serviceRegistry)
Set the service registry
|
getScope, setScope
getExtensionName, register, setExtensionName, setProcessor
public void setServiceRegistry(ServiceRegistry serviceRegistry)
serviceRegistry
- the service registry.public void setActionTrackingService(ActionTrackingService actionTrackingService)
actionTrackingService
- the action tracking servicepublic void requestActionCancellation(ScriptExecutionDetails action)
public ScriptExecutionDetails[] getAllExecutingActions()
public ScriptExecutionDetails[] getExecutingActions(String type)
public ScriptExecutionDetails[] getExecutingActions(Action action)
Copyright © 2005–2017 Alfresco Software. All rights reserved.