contentbox.config

Class Scheduler

lucee.Component
    extended by contentbox.config.Scheduler
Class Attributes:
  • synchronized : false
  •  
  • accessors : false
  •  
  • persistent : false
  •  
    Method Summary
    any afterAnyTask(any task, [any result])
         Called after ANY task runs.
    any beforeAnyTask(any task)
         Called before ANY task runs.
    any configure()
         Configure the ColdBox Scheduler.
    any onAnyTaskError(any task, any exception)
         Called whenever ANY task fails.
    any onAnyTaskSuccess(any task, [any result])
         Called whenever ANY task succeeds.
    any onShutdown()
         Called before the scheduler is going to be shutdown.
    any onStartup()
         Called after the scheduler has registered all schedules.
     
    Methods inherited from class lucee.Component
    None

    Method Detail

    afterAnyTask

    public any afterAnyTask(any task, [any result])

    Called after ANY task runs

    Parameters:
    task - The task that got executed
    result - The result (if any) that the task produced

    beforeAnyTask

    public any beforeAnyTask(any task)

    Called before ANY task runs

    Parameters:
    task - The task about to be executed

    configure

    public any configure()

    Configure the ColdBox Scheduler


    onAnyTaskError

    public any onAnyTaskError(any task, any exception)

    Called whenever ANY task fails

    Parameters:
    task - The task that got executed
    exception - The ColdFusion exception object

    onAnyTaskSuccess

    public any onAnyTaskSuccess(any task, [any result])

    Called whenever ANY task succeeds

    Parameters:
    task - The task that got executed
    result - The result (if any) that the task produced

    onShutdown

    public any onShutdown()

    Called before the scheduler is going to be shutdown


    onStartup

    public any onStartup()

    Called after the scheduler has registered all schedules