it.geosolutions.geobatch.flow.event
Class ProgressListener
java.lang.Object
it.geosolutions.geobatch.flow.event.ProgressListener
- All Implemented Interfaces:
- IProgressListener, java.util.EventListener
- Direct Known Subclasses:
- ProgressListenerForwarder
public abstract class ProgressListener
- extends java.lang.Object
- implements IProgressListener
- Author:
- ETj , (r2) Carlo Cancellieri - carlo.cancellieri@geo-solutions.it
|
Method Summary |
Identifiable |
getOwner()
|
float |
getProgress()
Get a progress indicator, between 0.0 and 100.0 |
java.lang.String |
getTask()
Get the name of the current task. |
void |
setProgress(float progress)
Used by the notifier. |
void |
setTask(java.lang.String currentTask)
Used by the notifier. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
configuration
protected ProgressListenerConfiguration configuration
ProgressListener
protected ProgressListener(Identifiable caller)
ProgressListener
protected ProgressListener(ProgressListenerConfiguration configuration,
Identifiable caller)
getOwner
public Identifiable getOwner()
- Specified by:
getOwner in interface IProgressListener
- Returns:
- the owner of the listener
getProgress
public float getProgress()
- Description copied from interface:
IProgressListener
- Get a progress indicator, between 0.0 and 100.0
- Specified by:
getProgress in interface IProgressListener
- Returns:
getTask
public java.lang.String getTask()
- Description copied from interface:
IProgressListener
- Get the name of the current task.
- Specified by:
getTask in interface IProgressListener
setTask
public void setTask(java.lang.String currentTask)
- Used by the notifier.
- Specified by:
setTask in interface IProgressListener
setProgress
public void setProgress(float progress)
- Used by the notifier.
- Specified by:
setProgress in interface IProgressListener
Copyright © 2008-2012 GeoSolutions. All Rights Reserved.