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 theBuildSuccessResult
interface.
-
-
Constructor Summary
Constructors Constructor Description DefaultOperationSuccessResult(long startTime, long endTime)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getEndTime()
Returns the time when the operation finished its execution.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.
-
-