Style Intelligence v12.0

inetsoft.sree.schedule
Interface TaskListener

All Superinterfaces:
EventListener

public interface TaskListener
extends EventListener

Task listener is invoked when a task is executed. To add a listener to schedule tasks, define a property, schedule.task.listener, with the fully qualified name of the listener class.


Method Summary
 void taskCompleted(ScheduleTask task, Principal user, List errors)
          Invoked when a task is finished.
 void taskStarted(ScheduleTask task, Principal user)
          Invoked when a task is about to be started.
 

Method Detail

taskStarted

void taskStarted(ScheduleTask task,
                 Principal user)
Invoked when a task is about to be started.

Parameters:
task - the executing task.
user - the principal used for executing the actions.

taskCompleted

void taskCompleted(ScheduleTask task,
                   Principal user,
                   List errors)
Invoked when a task is finished.

Parameters:
task - the executing task.
user - the principal used for executing the actions.
errors - the errors generated by the actions.

Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved.