Class Execution
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.fleetappsmanagement.model.Execution
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20230831") public final class Execution extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Task 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 class
Execution.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, Map<String,Map<String,Object>> systemTags)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Execution.Builder
builder()
Create a new builder.boolean
equals(Object o)
String
getDescription()
Description of the Execution status.String
getId()
Unique Id associated with the task execution.Boolean
getIsRollbackTask()
Is this a rollback task?Outcome
getOutcome()
String
getProcessReferenceId()
Unique process-reference identifier returned by the execution client.String
getResourceId()
Resource Identifier associated with the Work Request.String
getSequence()
The sequence of the task.JobStatus
getStatus()
Status of the TaskString
getStepName()
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.String
getTargetId()
Target associated with the execution.String
getTaskRecordId()
The OCID of taskRecord.Date
getTimeEnded()
The time the task ended.Date
getTimeStarted()
The time the task started.int
hashCode()
Execution.Builder
toBuilder()
String
toString()
String
toString(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","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, 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
-
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:
toString
in 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:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-