public class ExternalSystemStatusEventImpl<T extends OperationDescriptor> extends BaseExternalSystemProgressEvent<T> implements ExternalSystemStatusEvent<T>
Constructor and Description |
---|
ExternalSystemStatusEventImpl(java.lang.String eventId,
java.lang.String parentEventId,
T descriptor,
long total,
long progress,
java.lang.String unit) |
Modifier and Type | Method and Description |
---|---|
long |
getProgress()
The amount of work already performed by the build operation.
|
long |
getTotal()
The total amount of work that the build operation is in the progress of performing, or -1 if not known.
|
java.lang.String |
getUnit()
The measure used to express the amount of work.
|
getDescriptor, getDisplayName, getEventId, getEventTime, getParentEventId
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDescriptor, getDisplayName, getEventId, getEventTime, getParentEventId
public ExternalSystemStatusEventImpl(java.lang.String eventId, java.lang.String parentEventId, T descriptor, long total, long progress, java.lang.String unit)
public long getProgress()
ExternalSystemStatusEvent
getProgress
in interface ExternalSystemStatusEvent<T extends OperationDescriptor>
public long getTotal()
ExternalSystemStatusEvent
getTotal
in interface ExternalSystemStatusEvent<T extends OperationDescriptor>
public java.lang.String getUnit()
ExternalSystemStatusEvent
getUnit
in interface ExternalSystemStatusEvent<T extends OperationDescriptor>