Package org.gradle.tooling.events
Interface ProgressEvent
-
- All Known Subinterfaces:
BuildPhaseFinishEvent
,BuildPhaseProgressEvent
,BuildPhaseStartEvent
,FileDownloadFinishEvent
,FileDownloadProgressEvent
,FileDownloadStartEvent
,FinishEvent
,ProblemAggregationEvent
,ProblemEvent
,ProjectConfigurationFinishEvent
,ProjectConfigurationProgressEvent
,ProjectConfigurationStartEvent
,SingleProblemEvent
,StartEvent
,StatusEvent
,TaskFinishEvent
,TaskProgressEvent
,TaskStartEvent
,TestFinishEvent
,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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description OperationDescriptor
getDescriptor()
Returns the description of the operation for which progress is reported.java.lang.String
getDisplayName()
Returns a human consumable short description of the event.long
getEventTime()
Returns the time this event was triggered.
-
-
-
Method Detail
-
getEventTime
long getEventTime()
Returns the time this event was triggered.- Returns:
- The event time, in milliseconds since the epoch.
-
getDisplayName
java.lang.String getDisplayName()
Returns a human consumable short description of the event.- Returns:
- The short description of the event.
-
getDescriptor
OperationDescriptor getDescriptor()
Returns the description of the operation for which progress is reported.- Returns:
- The description of the operation.
-
-