public interface ProgressListener
ProgressListener
interface represents a listener for the observation of possibly time consuming
processes.Modifier and Type | Method and Description |
---|---|
void |
processEnded(boolean success)
Called when a process ended.
|
boolean |
processInProgress(int currentProgressValue)
Called while a process in in progress.
|
boolean |
processStarted(String processDescription,
int minProgressValue,
int maxProgressValue)
Called when a process started.
|
boolean processStarted(String processDescription, int minProgressValue, int maxProgressValue)
true
.processDescription
- a short description of the process beeing startedminProgressValue
- maxProgressValue
- true
if the process was successfully started (and should be continued), false
otherwiseboolean processInProgress(int currentProgressValue)
true
if the process can be
continued, false
if it should be terminated.currentProgressValue
- the current progress valuetrue
if the process should be continued, false
otherwisevoid processEnded(boolean success)
success
- if true
the process was successfully ended, otherwise it was terminated by user
demand or due to an exception.Copyright © 2014–2017 European Space Agency (ESA). All rights reserved.