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 theTaskSkippedResultinterface.
-
-
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 longgetEndTime()Returns the time when the operation finished its execution.java.lang.StringgetSkipMessage()Returns a message describing the reason for skipping the task.longgetStartTime()Returns the time when the operation started its execution.
-
-
-
Method Detail
-
getStartTime
public long getStartTime()
Description copied from interface:OperationResultReturns the time when the operation started its execution.- Specified by:
getStartTimein interfaceOperationResult- Returns:
- The start time, in milliseconds since the epoch.
-
getEndTime
public long getEndTime()
Description copied from interface:OperationResultReturns the time when the operation finished its execution.- Specified by:
getEndTimein interfaceOperationResult- Returns:
- The end time, in milliseconds since the epoch.
-
getSkipMessage
public java.lang.String getSkipMessage()
Description copied from interface:TaskSkippedResultReturns a message describing the reason for skipping the task.- Specified by:
getSkipMessagein interfaceTaskSkippedResult- Returns:
- the message describing the skip reason
-
-