it.geosolutions.geobatch.flow.event.listeners.status
Class StatusProgressListener
java.lang.Object
it.geosolutions.geobatch.flow.event.ProgressListener
it.geosolutions.geobatch.flow.event.listeners.status.StatusProgressListener
- All Implemented Interfaces:
- IProgressListener, java.util.EventListener
public class StatusProgressListener
- extends ProgressListener
Remember the state of the event firer.
- Author:
- ETj , (r2)Carlo Cancellieri - carlo.cancellieri@geo-solutions.it
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
started
protected boolean started
paused
protected boolean paused
failed
protected boolean failed
completed
protected boolean completed
terminated
protected boolean terminated
failException
protected java.lang.Throwable failException
StatusProgressListener
public StatusProgressListener(StatusProgressListenerConfiguration configuration,
Identifiable owner)
started
public void started()
- Parameters:
source -
isStarted
public boolean isStarted()
- Returns:
progressing
public void progressing()
- This event should trigger some refresh on interactive displays, but we don't need it
paused
public void paused()
isPaused
public boolean isPaused()
- Returns:
resumed
public void resumed()
completed
public void completed()
isCompleted
public boolean isCompleted()
- Returns:
failed
public void failed(java.lang.Throwable exception)
isFailed
public boolean isFailed()
- Returns:
getFailException
public java.lang.Throwable getFailException()
- Returns:
terminated
public void terminated()
isTerminated
public boolean isTerminated()
- Returns:
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
Copyright © 2008-2012 GeoSolutions. All Rights Reserved.