Class DefaultOperationSuccessResult
- java.lang.Object
-
- org.gradle.tooling.events.internal.DefaultOperationSuccessResult
-
- All Implemented Interfaces:
OperationResult,SuccessResult
- Direct Known Subclasses:
DefaultProjectConfigurationSuccessResult,DefaultTaskSuccessResult,DefaultTestSuccessResult,DefaultTransformSuccessResult,DefaultWorkItemSuccessResult
public class DefaultOperationSuccessResult extends java.lang.Object implements SuccessResult
Implementation of theBuildSuccessResultinterface.
-
-
Constructor Summary
Constructors Constructor Description DefaultOperationSuccessResult(long startTime, long endTime)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetEndTime()Returns the time when the operation finished its execution.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.
-
-