org.japura.task.listener
Class TaskExecutionProgressListener

java.lang.Object
  extended by org.japura.task.listener.TaskExecutionProgressListener
All Implemented Interfaces:
TaskManagerListener

public class TaskExecutionProgressListener
extends java.lang.Object
implements TaskManagerListener

Copyright (C) 2009-2012 Carlos Eduardo Leite de Andrade

This library is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this program. If not, see www.gnu.org/licenses/

For more information, contact: www.japura.org

Author:
Carlos Eduardo Leite de Andrade

Constructor Summary
TaskExecutionProgressListener()
           
TaskExecutionProgressListener(javax.swing.Icon progressBarIcon)
           
 
Method Summary
 void afterExecute(Task<?> task)
           
 void beforeExecute(Task<?> task)
           
 void removed(Task<?> task)
           
 void submitted(Task<?> task)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TaskExecutionProgressListener

public TaskExecutionProgressListener()

TaskExecutionProgressListener

public TaskExecutionProgressListener(javax.swing.Icon progressBarIcon)
Method Detail

submitted

public void submitted(Task<?> task)
Specified by:
submitted in interface TaskManagerListener

beforeExecute

public void beforeExecute(Task<?> task)
Specified by:
beforeExecute in interface TaskManagerListener

removed

public void removed(Task<?> task)
Specified by:
removed in interface TaskManagerListener

afterExecute

public void afterExecute(Task<?> task)
Specified by:
afterExecute in interface TaskManagerListener