Class ScriptActionTrackingService

    • 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​(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.