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, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getDescription, getEventTime, getHint, getId, getMessage, getParentId
public 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()
ProgressBuildEvent
getTotal
in interface ProgressBuildEvent
public long getProgress()
ProgressBuildEvent
getProgress
in interface ProgressBuildEvent
public java.lang.String getUnit()
ProgressBuildEvent
getUnit
in interface ProgressBuildEvent