Class DefaultTestOutputEvent
- java.lang.Object
-
- org.gradle.tooling.events.test.internal.DefaultTestOutputEvent
-
- All Implemented Interfaces:
ProgressEvent
,TestOutputEvent
public final class DefaultTestOutputEvent extends java.lang.Object implements TestOutputEvent
Implementation of theTestOutputEvent
interface.
-
-
Constructor Summary
Constructors Constructor Description DefaultTestOutputEvent(long eventTime, TestOutputDescriptor descriptor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TestOutputDescriptor
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()
-
-
-
Constructor Detail
-
DefaultTestOutputEvent
public DefaultTestOutputEvent(long eventTime, TestOutputDescriptor descriptor)
-
-
Method Detail
-
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.
-
getDescriptor
public TestOutputDescriptor 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 interfaceTestOutputEvent
- Returns:
- The description of the operation.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-