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, getParentEventIdclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDescriptor, getDisplayName, getEventId, getEventTime, getParentEventIdpublic ExternalSystemStatusEventImpl(java.lang.String eventId,
java.lang.String parentEventId,
T descriptor,
long total,
long progress,
java.lang.String unit)
public long getProgress()
ExternalSystemStatusEventgetProgress in interface ExternalSystemStatusEvent<T extends OperationDescriptor>public long getTotal()
ExternalSystemStatusEventgetTotal in interface ExternalSystemStatusEvent<T extends OperationDescriptor>public java.lang.String getUnit()
ExternalSystemStatusEventgetUnit in interface ExternalSystemStatusEvent<T extends OperationDescriptor>