public abstract class ProgressUpdateEvent extends UpdateEvent
UpdateEvent
that includes progress information.Modifier and Type | Class and Description |
---|---|
static class |
ProgressUpdateEvent.ProgressDetail
Provide details about the progress of a task.
|
Modifier | Constructor and Description |
---|---|
protected |
ProgressUpdateEvent(String status,
ProgressUpdateEvent.ProgressDetail progressDetail,
String progress) |
Modifier and Type | Method and Description |
---|---|
String |
getProgress()
Return a text based progress bar if progress information is available.
|
ProgressUpdateEvent.ProgressDetail |
getProgressDetail()
Return progress details if available.
|
String |
getStatus()
Return the status for the update.
|
protected ProgressUpdateEvent(String status, ProgressUpdateEvent.ProgressDetail progressDetail, String progress)
public String getStatus()
public ProgressUpdateEvent.ProgressDetail getProgressDetail()
null
public String getProgress()
null