it.geosolutions.geobatch.flow.event.listeners.cumulator
Class CumulatingProgressListener
java.lang.Object
it.geosolutions.geobatch.flow.event.ProgressListener
it.geosolutions.geobatch.flow.event.listeners.cumulator.CumulatingProgressListener
- All Implemented Interfaces:
- IProgressListener, java.util.EventListener
public class CumulatingProgressListener
- extends ProgressListener
Cumulates all event messages into an internal List.
You can retrieve all cumulated messages using getMessages()
- Author:
- ETj
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CumulatingProgressListener
public CumulatingProgressListener(CumulatingProgressListenerConfiguration configuration,
Identifiable owner)
getMessages
public java.util.List<java.lang.String> getMessages()
- Retrieves all the event messages arrived so far.
- Returns:
- the internal List instance.
clearMessages
public void clearMessages()
- Removes all cumulated messages
msg
protected void msg(java.lang.String msg)
started
public void started()
progressing
public void progressing()
paused
public void paused()
resumed
public void resumed()
completed
public void completed()
failed
public void failed(java.lang.Throwable exception)
terminated
public void terminated()
Copyright © 2008-2012 GeoSolutions. All Rights Reserved.