Class Execution
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.fleetappsmanagement.model.Execution
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20250228") public final class Execution extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelTask Execution associated with the Job.
Note: Objects should always be created or deserialized using theExecution.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 theExecution.Builder, which maintain a set of all explicitly set fields calledExecution.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 classExecution.Builder
-
Constructor Summary
Constructors Constructor Description Execution(String id, String taskRecordId, String stepName, String processReferenceId, String sequence, List<String> subjects, JobStatus status, Outcome outcome, String targetId, Date timeStarted, Date timeEnded, Boolean isRollbackTask, String description, String resourceId, Boolean isRetryExceeded, Map<String,Map<String,Object>> systemTags)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Execution.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetDescription()Description of the Execution status.StringgetId()Unique Id associated with the task execution.BooleangetIsRetryExceeded()An attribute which tells if further retries are allowed for the task on failure.BooleangetIsRollbackTask()Is this a rollback task?OutcomegetOutcome()StringgetProcessReferenceId()Unique process-reference identifier returned by the execution client.StringgetResourceId()Resource Identifier associated with the Work Request.StringgetSequence()The sequence of the task.JobStatusgetStatus()Status of the TaskStringgetStepName()Name of the step.List<String>getSubjects()Subjects that are tied to the task.Map<String,Map<String,Object>>getSystemTags()System tags for this resource.StringgetTargetId()Target associated with the execution.StringgetTaskRecordId()The OCID of taskRecord.DategetTimeEnded()The time the task ended.DategetTimeStarted()The time the task started.inthashCode()Execution.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
Execution
@Deprecated @ConstructorProperties({"id","taskRecordId","stepName","processReferenceId","sequence","subjects","status","outcome","targetId","timeStarted","timeEnded","isRollbackTask","description","resourceId","isRetryExceeded","systemTags"}) public Execution(String id, String taskRecordId, String stepName, String processReferenceId, String sequence, List<String> subjects, JobStatus status, Outcome outcome, String targetId, Date timeStarted, Date timeEnded, Boolean isRollbackTask, String description, String resourceId, Boolean isRetryExceeded, Map<String,Map<String,Object>> systemTags)
Deprecated.
-
-
Method Detail
-
builder
public static Execution.Builder builder()
Create a new builder.
-
toBuilder
public Execution.Builder toBuilder()
-
getId
public String getId()
Unique Id associated with the task execution.- Returns:
- the value
-
getTaskRecordId
public String getTaskRecordId()
The OCID of taskRecord.- Returns:
- the value
-
getStepName
public String getStepName()
Name of the step.- Returns:
- the value
-
getProcessReferenceId
public String getProcessReferenceId()
Unique process-reference identifier returned by the execution client.In some cases, this can be a runcommand OCID.
- Returns:
- the value
-
getSequence
public String getSequence()
The sequence of the task.- Returns:
- the value
-
getSubjects
public List<String> getSubjects()
Subjects that are tied to the task.- Returns:
- the value
-
getStatus
public JobStatus getStatus()
Status of the Task- Returns:
- the value
-
getOutcome
public Outcome getOutcome()
-
getTargetId
public String getTargetId()
Target associated with the execution.- Returns:
- the value
-
getTimeStarted
public Date getTimeStarted()
The time the task started.An RFC3339 formatted datetime string.
- Returns:
- the value
-
getTimeEnded
public Date getTimeEnded()
The time the task ended.An RFC3339 formatted datetime string.
- Returns:
- the value
-
getIsRollbackTask
public Boolean getIsRollbackTask()
Is this a rollback task?- Returns:
- the value
-
getDescription
public String getDescription()
Description of the Execution status.If there are any errors, this can also include a short error message.
- Returns:
- the value
-
getResourceId
public String getResourceId()
Resource Identifier associated with the Work Request.- Returns:
- the value
-
getIsRetryExceeded
public Boolean getIsRetryExceeded()
An attribute which tells if further retries are allowed for the task on failure.- Returns:
- the value
-
getSystemTags
public Map<String,Map<String,Object>> getSystemTags()
System tags for this resource.Each key is predefined and scoped to a namespace. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}
- Returns:
- the value
-
toString
public String toString()
- Overrides:
toStringin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Parameters:
includeByteArrayContents- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCodein classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-