public interface ProgressMonitor
| Modifier and Type | Method and Description |
|---|---|
List<ProgressMessage> |
getMessages()
Return all progress messages logged so far.
|
List<ProgressMessage> |
getMessagesSince(int offset)
Return all progress messages since the given message number.
|
int |
getProgress()
Get the progress of the task as a percentage.
|
TaskState |
getState()
Return the state of the task.
|
boolean |
moreMessagesSince(int offset)
Return true if there are more progress messages available since the given message number.
|
boolean |
succeeded()
Return true if the task has Terminated and was successful.
|
JSONWritable |
viewUpdatesSince(int offset)
Return a JSON view onto the status of the monitor including any messages
since the given offset.
|
TaskState getState()
int getProgress()
boolean succeeded()
List<ProgressMessage> getMessages()
List<ProgressMessage> getMessagesSince(int offset)
boolean moreMessagesSince(int offset)
JSONWritable viewUpdatesSince(int offset)
Copyright © 2017. All rights reserved.