@Generated(value="OracleSDKGenerator", comments="API Version: 20201101") public final class JobExecution extends Object
The details of a job execution.
Note: Objects should always be created or deserialized using the JobExecution.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 the JobExecution.Builder, which maintain a set of all explicitly set fields called
__explicitlySet__. The hashCode() and equals(Object) methods are implemented to take
__explicitlySet__ into account. The constructor, on the other hand, does not set __explicitlySet__
(since the constructor cannot distinguish explicit null from unset null).
| Modifier and Type | Class and Description |
|---|---|
static class |
JobExecution.Builder |
static class |
JobExecution.Status
The status of the job execution.
|
| Constructor and Description |
|---|
JobExecution(String id,
String name,
String compartmentId,
String managedDatabaseGroupId,
String managedDatabaseId,
String managedDatabaseName,
String jobId,
String jobName,
String jobRunId,
JobExecution.Status status,
String errorMessage,
JobExecutionResultDetails resultDetails,
Date timeCreated,
Date timeCompleted)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static JobExecution.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
String |
getCompartmentId()
The OCID of the compartment in which the parent job resides.
|
String |
getErrorMessage()
The error message that is returned if the job execution fails.
|
String |
getId()
The identifier of the job execution.
|
String |
getJobId()
The OCID of the parent job.
|
String |
getJobName()
The name of the parent job.
|
String |
getJobRunId()
The identifier of the associated job run.
|
String |
getManagedDatabaseGroupId()
The OCID of the Managed Database Group where the parent job has to be executed.
|
String |
getManagedDatabaseId()
The OCID of the Managed Database associated with the job execution.
|
String |
getManagedDatabaseName()
The name of the Managed Database associated with the job execution.
|
String |
getName()
The name of the job execution.
|
JobExecutionResultDetails |
getResultDetails() |
JobExecution.Status |
getStatus()
The status of the job execution.
|
Date |
getTimeCompleted()
The date and time when the job execution completed.
|
Date |
getTimeCreated()
The date and time when the job execution was created.
|
int |
hashCode() |
JobExecution.Builder |
toBuilder() |
String |
toString() |
@ConstructorProperties(value={"id","name","compartmentId","managedDatabaseGroupId","managedDatabaseId","managedDatabaseName","jobId","jobName","jobRunId","status","errorMessage","resultDetails","timeCreated","timeCompleted"}) @Deprecated public JobExecution(String id, String name, String compartmentId, String managedDatabaseGroupId, String managedDatabaseId, String managedDatabaseName, String jobId, String jobName, String jobRunId, JobExecution.Status status, String errorMessage, JobExecutionResultDetails resultDetails, Date timeCreated, Date timeCompleted)
public static JobExecution.Builder builder()
Create a new builder.
public JobExecution.Builder toBuilder()
public String getId()
The identifier of the job execution.
public String getName()
The name of the job execution.
public String getCompartmentId()
The OCID of the compartment in which the parent job resides.
public String getManagedDatabaseGroupId()
The OCID of the Managed Database Group where the parent job has to be executed.
public String getManagedDatabaseId()
The OCID of the Managed Database associated with the job execution.
public String getManagedDatabaseName()
The name of the Managed Database associated with the job execution.
public String getJobName()
The name of the parent job.
public String getJobRunId()
The identifier of the associated job run.
public JobExecution.Status getStatus()
The status of the job execution.
public String getErrorMessage()
The error message that is returned if the job execution fails. Null is returned if the job is still running or if the job execution is successful.
public JobExecutionResultDetails getResultDetails()
public Date getTimeCreated()
The date and time when the job execution was created.
public Date getTimeCompleted()
The date and time when the job execution completed.
Copyright © 2016–2021. All rights reserved.