|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectit.geosolutions.tools.commons.listener.DefaultProgress
public class DefaultProgress
Default implementation of the interface Progress
| Constructor Summary | |
|---|---|
DefaultProgress()
|
|
DefaultProgress(String name)
|
|
| Method Summary | |
|---|---|
void |
onCancel()
Progress.onCancel() |
void |
onCompleted()
Progress.onCompleted() |
void |
onDispose()
Progress.onDispose() |
void |
onExceptionOccurred(Throwable exception)
Progress.onExceptionOccurred(Throwable) |
void |
onNewTask(String task)
Sets the description of the current task being performed. |
void |
onStart()
Progress.onStart() |
void |
onUpdateProgress(float percent)
Progress.onUpdateProgress(float) |
void |
onWarningOccurred(String source,
String location,
String warning)
Progress.onWarningOccurred(String, String, String) |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultProgress(String name)
public DefaultProgress()
| Method Detail |
|---|
public void onNewTask(String task)
Progress
onNewTask in interface Progress<String>task - Description of the task being performed, or null if none.public void onStart()
Progress.onStart()
onStart in interface Progress<String>public void onUpdateProgress(float percent)
Progress.onUpdateProgress(float)
onUpdateProgress in interface Progress<String>percent - The progress as a value between 0 and 100 inclusive.public void onCompleted()
Progress.onCompleted()
onCompleted in interface Progress<String>public void onDispose()
Progress.onDispose()
onDispose in interface Progress<String>public void onCancel()
Progress.onCancel()
onCancel in interface Progress<String>public void onExceptionOccurred(Throwable exception)
Progress.onExceptionOccurred(Throwable)
onExceptionOccurred in interface Progress<String>exception - The exception to report.
public void onWarningOccurred(String source,
String location,
String warning)
Progress.onWarningOccurred(String, String, String)
onWarningOccurred in interface Progress<String>source - Name of the warning source, or null if none. This is typically the
filename in process of being parsed or the URL of the data being processedlocation - Text to write on the left side of the warning message, or null if none.
This is typically the line number where the error occured in the source
file or the feature ID of the feature that produced the messagewarning - The warning message.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||