Class ScheduledMethodControllerAction

    • Constructor Detail

      • ScheduledMethodControllerAction

        public ScheduledMethodControllerAction()
        Creates a ScheduledMethodControllerAction with no methods scheduled.
      • ScheduledMethodControllerAction

        public ScheduledMethodControllerAction​(List<Class<?>> clazzes)
        Creates a ScheduledMethodControllerAction based on the agent classes contained in the specified data.
        Parameters:
        clazzes -
    • Method Detail

      • processAnnotations

        public void processAnnotations​(List<Class<?>> clazzes)
        Process any ScheduledMethod annotations on the specified class.
        Parameters:
        clazzes -
      • processAnnotations

        public void processAnnotations​(Class<?> clazz)
      • runCleanup

        public void runCleanup​(RunState runState,
                               Object contextId)
        Description copied from interface: ControllerAction
        Cleans up the action after a run just occurred.
        Specified by:
        runCleanup in interface ControllerAction
        Parameters:
        runState - information on the run that just occurred
      • batchCleanup

        public void batchCleanup​(RunState runState,
                                 Object contextId)
        Description copied from interface: ControllerAction
        Cleans up the action after a batch run (a set of runs).
        Specified by:
        batchCleanup in interface ControllerAction
        Parameters:
        runState - information on the set of runs that just occurred
      • eventOccured

        public void eventOccured​(ContextEvent ev)
        Notify this event of a change to a context.
        Specified by:
        eventOccured in interface ContextListener
        Parameters:
        ev - The event of which to notify the listener.