Class DefaultTransformStartEvent
- java.lang.Object
-
- org.gradle.tooling.events.internal.DefaultStartEvent
-
- org.gradle.tooling.events.transform.internal.DefaultTransformStartEvent
-
- All Implemented Interfaces:
ProgressEvent
,StartEvent
,TransformProgressEvent
,TransformStartEvent
public class DefaultTransformStartEvent extends DefaultStartEvent implements TransformStartEvent
-
-
Constructor Summary
Constructors Constructor Description DefaultTransformStartEvent(long eventTime, java.lang.String displayName, TransformOperationDescriptor descriptor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TransformOperationDescriptor
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.java.lang.String
toString()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.gradle.tooling.events.ProgressEvent
getDisplayName, getEventTime
-
-
-
-
Constructor Detail
-
DefaultTransformStartEvent
public DefaultTransformStartEvent(long eventTime, java.lang.String displayName, TransformOperationDescriptor descriptor)
-
-
Method Detail
-
getDescriptor
public TransformOperationDescriptor getDescriptor()
Description copied from interface:ProgressEvent
Returns the description of the operation for which progress is reported.- Specified by:
getDescriptor
in interfaceProgressEvent
- Specified by:
getDescriptor
in interfaceTransformProgressEvent
- Returns:
- The description of the operation.
-
getEventTime
public long getEventTime()
Description copied from interface:ProgressEvent
Returns the time this event was triggered.- Specified by:
getEventTime
in interfaceProgressEvent
- Returns:
- The event time, in milliseconds since the epoch.
-
getDisplayName
public java.lang.String getDisplayName()
Description copied from interface:ProgressEvent
Returns a human consumable short description of the event.- Specified by:
getDisplayName
in interfaceProgressEvent
- Returns:
- The short description of the event.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-