public class ProgressBuildEventImpl extends AbstractBuildEvent implements ProgressBuildEvent
| Constructor and Description |
|---|
ProgressBuildEventImpl(java.lang.Object eventId,
java.lang.Object parentId,
long eventTime,
java.lang.String message,
long total,
long progress,
java.lang.String unit) |
| Modifier and Type | Method and Description |
|---|---|
long |
getProgress()
Returns the amount of work already performed by the event.
|
long |
getTotal()
Returns the total amount of work that the event operation is in the progress of performing, or -1 if not known.
|
java.lang.String |
getUnit()
Returns the measure used to express the amount of work.
|
getDescription, getEventTime, getHint, getId, getMessage, getParentId, setDescription, setHint, setParentId, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetDescription, getEventTime, getHint, getId, getMessage, getParentIdpublic ProgressBuildEventImpl(java.lang.Object eventId,
java.lang.Object parentId,
long eventTime,
java.lang.String message,
long total,
long progress,
java.lang.String unit)
public long getTotal()
ProgressBuildEventgetTotal in interface ProgressBuildEventpublic long getProgress()
ProgressBuildEventgetProgress in interface ProgressBuildEventpublic java.lang.String getUnit()
ProgressBuildEventgetUnit in interface ProgressBuildEvent