Class ProgressUpdate
- java.lang.Object
-
- org.hortonmachine.gears.ui.progress.ProgressUpdate
-
public class ProgressUpdate extends Object
Class to hold update messages and work done.
-
-
Field Summary
Fields Modifier and Type Field Description StringerrorMessageStringupdateStringintworkDone
-
Constructor Summary
Constructors Constructor Description ProgressUpdate(String errorMessage)Progress update with error message.ProgressUpdate(String updateString, int workDone)Progress update with message and work done.
-
-
-
Constructor Detail
-
ProgressUpdate
public ProgressUpdate(String updateString, int workDone)
Progress update with message and work done.- Parameters:
updateString- message for teh progress monitor.workDone- the work done up to that point.
-
ProgressUpdate
public ProgressUpdate(String errorMessage)
Progress update with error message.- Parameters:
errorMessage- the error message.
-
-