Class ScriptActionTrackingService

  • All Implemented Interfaces:
    org.alfresco.processor.ProcessorExtension, Scopeable

    public class ScriptActionTrackingService
    extends BaseScopableProcessorExtension
    Script object representing the action tracking service.
    Author:
    Nick Burch
    • Constructor Detail

      • ScriptActionTrackingService

        public ScriptActionTrackingService()
    • Method Detail

      • setServiceRegistry

        public void setServiceRegistry​(ServiceRegistry serviceRegistry)
        Set the service registry
        Parameters:
        serviceRegistry - the service registry.
      • setActionTrackingService

        public void setActionTrackingService​(ActionTrackingService actionTrackingService)
        Set the action tracking service.
        Parameters:
        actionTrackingService - the action tracking service
      • requestActionCancellation

        public void requestActionCancellation​(ScriptExecutionDetails action)
        Requests that the specified Action cancel itself and aborts execution, as soon as possible.
      • getAllExecutingActions

        public ScriptExecutionDetails[] getAllExecutingActions()
        Retrieve summary details of all the actions currently executing.
      • getExecutingActions

        public ScriptExecutionDetails[] getExecutingActions​(java.lang.String type)
        Retrieve summary details of all the actions of the given type that are currently executing.
      • getExecutingActions

        public ScriptExecutionDetails[] getExecutingActions​(Action action)
        Retrieve summary details of all instances of the specified action that are currently executing.