Package org.gradle.tooling.events
Interface ProgressEvent
- All Known Subinterfaces:
- BuildPhaseFinishEvent,- BuildPhaseProgressEvent,- BuildPhaseStartEvent,- FileDownloadFinishEvent,- FileDownloadProgressEvent,- FileDownloadStartEvent,- FinishEvent,- ProblemAggregationEvent,- ProblemEvent,- ProblemSummariesEvent,- ProjectConfigurationFinishEvent,- ProjectConfigurationProgressEvent,- ProjectConfigurationStartEvent,- SingleProblemEvent,- StartEvent,- StatusEvent,- TaskFinishEvent,- TaskProgressEvent,- TaskStartEvent,- TestFinishEvent,- TestMetadataEvent,- TestOutputEvent,- TestProgressEvent,- TestStartEvent,- TransformFinishEvent,- TransformProgressEvent,- TransformStartEvent,- WorkItemFinishEvent,- WorkItemProgressEvent,- WorkItemStartEvent
public interface ProgressEvent
Root interface for all events that signal progress while executing an operation. For example, an operation can be
 the execution of a build, of a task, of a test, etc. A progress event can, for example, signal that a test has started, a
 task has finished, etc.
- Since:
- 2.4
- 
Method SummaryModifier and TypeMethodDescriptionReturns the description of the operation for which progress is reported.Returns a human consumable short description of the event.longReturns the time this event was triggered.
- 
Method Details- 
getEventTimelong getEventTime()Returns the time this event was triggered.- Returns:
- The event time, in milliseconds since the epoch.
 
- 
getDisplayNameString getDisplayName()Returns a human consumable short description of the event.- Returns:
- The short description of the event.
 
- 
getDescriptorOperationDescriptor getDescriptor()Returns the description of the operation for which progress is reported.- Returns:
- The description of the operation.
 
 
-