Class DefaultTaskSkippedResult
- java.lang.Object
-
- org.gradle.tooling.events.task.internal.DefaultTaskSkippedResult
-
- All Implemented Interfaces:
OperationResult
,SkippedResult
,TaskOperationResult
,TaskSkippedResult
public final class DefaultTaskSkippedResult extends java.lang.Object implements TaskSkippedResult
Implementation of theTaskSkippedResult
interface.
-
-
Constructor Summary
Constructors Constructor Description DefaultTaskSkippedResult(long startTime, long endTime, java.lang.String skipMessage)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getEndTime()
Returns the time when the operation finished its execution.java.lang.String
getSkipMessage()
Returns a message describing the reason for skipping the task.long
getStartTime()
Returns the time when the operation started its execution.
-
-
-
Method Detail
-
getStartTime
public long getStartTime()
Description copied from interface:OperationResult
Returns the time when the operation started its execution.- Specified by:
getStartTime
in interfaceOperationResult
- Returns:
- The start time, in milliseconds since the epoch.
-
getEndTime
public long getEndTime()
Description copied from interface:OperationResult
Returns the time when the operation finished its execution.- Specified by:
getEndTime
in interfaceOperationResult
- Returns:
- The end time, in milliseconds since the epoch.
-
getSkipMessage
public java.lang.String getSkipMessage()
Description copied from interface:TaskSkippedResult
Returns a message describing the reason for skipping the task.- Specified by:
getSkipMessage
in interfaceTaskSkippedResult
- Returns:
- the message describing the skip reason
-
-