Package com.oracle.bmc.batch.model
Class ComputeTaskExecutionDetails
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.batch.model.BatchTaskExecutionDetails
-
- com.oracle.bmc.batch.model.ComputeTaskExecutionDetails
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20251031") public final class ComputeTaskExecutionDetails extends BatchTaskExecutionDetailsExecution details for a compute task.
Note: Objects should always be created or deserialized using theComputeTaskExecutionDetails.Builder. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of theComputeTaskExecutionDetails.Builder, which maintain a set of all explicitly set fields calledComputeTaskExecutionDetails.Builder.__explicitlySet__. ThehashCode()andequals(Object)methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classComputeTaskExecutionDetails.Builder-
Nested classes/interfaces inherited from class com.oracle.bmc.batch.model.BatchTaskExecutionDetails
BatchTaskExecutionDetails.Type
-
-
Constructor Summary
Constructors Constructor Description ComputeTaskExecutionDetails(String executionId, Date timeTransitionedToWaitingDependencies, Date timeTransitionedToWaitingQueued, Date timeStarted, Date timeCompleted, FleetShapeExecutionDetails fleetShape, BatchTask.LifecycleState completionLifecycleState, List<String> errors)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ComputeTaskExecutionDetails.Builderbuilder()Create a new builder.booleanequals(Object o)BatchTask.LifecycleStategetCompletionLifecycleState()The terminal lifecycle state of the task for this execution.List<String>getErrors()List of error messages related to this task execution.StringgetExecutionId()A unique identifier for the task execution.FleetShapeExecutionDetailsgetFleetShape()DategetTimeCompleted()The date and time when the lifecycleState changed to Succeeded, or Failed, in the format defined by RFC 3339.DategetTimeStarted()The date and time when the lifecycleState was changed to In_Progress, in the format defined by RFC 3339.DategetTimeTransitionedToWaitingDependencies()The date and time when the lifecycleState was changed to Waiting, and it is waiting for its dependencies to run, in the format defined by RFC 3339.DategetTimeTransitionedToWaitingQueued()The date and time when the lifecycleState was changed to Waiting, and it is queued to be executed, in the format defined by RFC 3339.inthashCode()ComputeTaskExecutionDetails.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
ComputeTaskExecutionDetails
@Deprecated public ComputeTaskExecutionDetails(String executionId, Date timeTransitionedToWaitingDependencies, Date timeTransitionedToWaitingQueued, Date timeStarted, Date timeCompleted, FleetShapeExecutionDetails fleetShape, BatchTask.LifecycleState completionLifecycleState, List<String> errors)
Deprecated.
-
-
Method Detail
-
builder
public static ComputeTaskExecutionDetails.Builder builder()
Create a new builder.
-
toBuilder
public ComputeTaskExecutionDetails.Builder toBuilder()
-
getExecutionId
public String getExecutionId()
A unique identifier for the task execution.Created as “taskId:taskVersion:runNumber”.
- Returns:
- the value
-
getTimeTransitionedToWaitingDependencies
public Date getTimeTransitionedToWaitingDependencies()
The date and time when the lifecycleState was changed to Waiting, and it is waiting for its dependencies to run, in the format defined by RFC 3339.Example: 2016-08-25T21:10:29.600Z
- Returns:
- the value
-
getTimeTransitionedToWaitingQueued
public Date getTimeTransitionedToWaitingQueued()
The date and time when the lifecycleState was changed to Waiting, and it is queued to be executed, in the format defined by RFC 3339.Example: 2016-08-25T21:10:29.600Z
- Returns:
- the value
-
getTimeStarted
public Date getTimeStarted()
The date and time when the lifecycleState was changed to In_Progress, in the format defined by RFC 3339.Example: 2016-08-25T21:10:29.600Z
- Returns:
- the value
-
getTimeCompleted
public Date getTimeCompleted()
The date and time when the lifecycleState changed to Succeeded, or Failed, in the format defined by RFC 3339.Example: 2016-08-25T21:10:29.600Z
- Returns:
- the value
-
getFleetShape
public FleetShapeExecutionDetails getFleetShape()
-
getCompletionLifecycleState
public BatchTask.LifecycleState getCompletionLifecycleState()
The terminal lifecycle state of the task for this execution.Valid values are: SUCCEEDED, NEEDS_ATTENTION, CANCELED, or FAILED.
- Returns:
- the value
-
getErrors
public List<String> getErrors()
List of error messages related to this task execution.Be aware that the maximum number of items returned may change in the future.
- Returns:
- the value
-
toString
public String toString()
- Overrides:
toStringin classBatchTaskExecutionDetails
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Overrides:
toStringin classBatchTaskExecutionDetails- Parameters:
includeByteArrayContents- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classBatchTaskExecutionDetails
-
hashCode
public int hashCode()
- Overrides:
hashCodein classBatchTaskExecutionDetails
-
-