@Generated(value="OracleSDKGenerator", comments="API Version: 20200430") public final class TaskRun extends Object
The information about a task run.
Note: Objects should always be created or deserialized using the TaskRun.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 TaskRun.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 |
TaskRun.Builder |
static class |
TaskRun.Status
The status of the task run.
|
static class |
TaskRun.TaskType
The type of task run.
|
| Constructor and Description |
|---|
TaskRun(String key,
String modelType,
String modelVersion,
ParentReference parentRef,
String name,
String description,
Integer objectVersion,
ConfigProvider configProvider,
TaskRun.Status status,
Long startTimeMillis,
Long endTimeMillis,
Long lastUpdated,
Long recordsWritten,
Long bytesProcessed,
String errorMessage,
String opcRequestId,
Integer objectStatus,
TaskRun.TaskType taskType,
String identifier,
ObjectMetadata metadata,
Map<String,String> keyMap)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static TaskRun.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
Long |
getBytesProcessed()
The number of bytes processed in the task run.
|
ConfigProvider |
getConfigProvider() |
String |
getDescription()
Detailed description for the object.
|
Long |
getEndTimeMillis()
The end time.
|
String |
getErrorMessage()
Contains an error message if status is
ERROR. |
String |
getIdentifier()
Value can only contain upper case letters, underscore and numbers.
|
String |
getKey()
The key of the object.
|
Map<String,String> |
getKeyMap()
A key map.
|
Long |
getLastUpdated()
The date and time the object was last updated.
|
ObjectMetadata |
getMetadata() |
String |
getModelType()
The type of the object.
|
String |
getModelVersion()
The model version of an object.
|
String |
getName()
Free form text without any restriction on permitted characters.
|
Integer |
getObjectStatus()
The status of an object that can be set to value 1 for shallow references across objects, other values reserved.
|
Integer |
getObjectVersion()
The version of the object that is used to track changes in the object instance.
|
String |
getOpcRequestId()
The OPC request ID of execution of the task run.
|
ParentReference |
getParentRef() |
Long |
getRecordsWritten()
The number of records processed in the task run.
|
Long |
getStartTimeMillis()
The start time.
|
TaskRun.Status |
getStatus()
The status of the task run.
|
TaskRun.TaskType |
getTaskType()
The type of task run.
|
int |
hashCode() |
TaskRun.Builder |
toBuilder() |
String |
toString() |
@ConstructorProperties(value={"key","modelType","modelVersion","parentRef","name","description","objectVersion","configProvider","status","startTimeMillis","endTimeMillis","lastUpdated","recordsWritten","bytesProcessed","errorMessage","opcRequestId","objectStatus","taskType","identifier","metadata","keyMap"}) @Deprecated public TaskRun(String key, String modelType, String modelVersion, ParentReference parentRef, String name, String description, Integer objectVersion, ConfigProvider configProvider, TaskRun.Status status, Long startTimeMillis, Long endTimeMillis, Long lastUpdated, Long recordsWritten, Long bytesProcessed, String errorMessage, String opcRequestId, Integer objectStatus, TaskRun.TaskType taskType, String identifier, ObjectMetadata metadata, Map<String,String> keyMap)
public static TaskRun.Builder builder()
Create a new builder.
public TaskRun.Builder toBuilder()
public String getKey()
The key of the object.
public String getModelType()
The type of the object.
public String getModelVersion()
The model version of an object.
public ParentReference getParentRef()
public String getName()
Free form text without any restriction on permitted characters. Name can have letters, numbers, and special characters. The value is editable and is restricted to 1000 characters.
public String getDescription()
Detailed description for the object.
public Integer getObjectVersion()
The version of the object that is used to track changes in the object instance.
public ConfigProvider getConfigProvider()
public TaskRun.Status getStatus()
The status of the task run.
public Long getStartTimeMillis()
The start time.
public Long getEndTimeMillis()
The end time.
public Long getLastUpdated()
The date and time the object was last updated.
public Long getRecordsWritten()
The number of records processed in the task run.
public Long getBytesProcessed()
The number of bytes processed in the task run.
public String getErrorMessage()
Contains an error message if status is ERROR.
public String getOpcRequestId()
The OPC request ID of execution of the task run.
public Integer getObjectStatus()
The status of an object that can be set to value 1 for shallow references across objects, other values reserved.
public TaskRun.TaskType getTaskType()
The type of task run.
public String getIdentifier()
Value can only contain upper case letters, underscore and numbers. It should begin with upper case letter or underscore. The value can be modified.
public ObjectMetadata getMetadata()
public Map<String,String> getKeyMap()
A key map. If provided, key is replaced with generated key. This structure provides mapping between user provided key and generated key.
Copyright © 2016–2021. All rights reserved.