Class TaskRun
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.dataintegration.model.TaskRun
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20200430") public final class TaskRun extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelThe information about a task run.
 Note: Objects should always be created or deserialized using theTaskRun.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 theTaskRun.Builder, which maintain a set of all explicitly set fields calledTaskRun.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 SummaryNested Classes Modifier and Type Class Description static classTaskRun.AuthModeThe autorization mode for when the task was executed.static classTaskRun.Builderstatic classTaskRun.ExpectedDurationUnitThe expected duration unit of measure.static classTaskRun.StatusThe status of the task run.static classTaskRun.TaskTypeThe type of task run.
 - 
Constructor SummaryConstructors Constructor 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, Double expectedDuration, TaskRun.ExpectedDurationUnit expectedDurationUnit, String taskKey, String externalId, Integer retryAttempt, TaskSchedule taskSchedule, Map<String,Float> metrics, Map<String,ParameterValue> outputs, List<String> executionErrors, List<String> terminationErrors, TaskRun.AuthMode authMode, String opcRequestId, Integer objectStatus, TaskRun.TaskType taskType, Boolean isLogProcessingInProgress, String identifier, ObjectMetadata metadata, Map<String,String> keyMap)Deprecated.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TaskRun.Builderbuilder()Create a new builder.booleanequals(Object o)TaskRun.AuthModegetAuthMode()The autorization mode for when the task was executed.LonggetBytesProcessed()The number of bytes processed in the task run.ConfigProvidergetConfigProvider()StringgetDescription()Detailed description for the object.LonggetEndTimeMillis()The end time.StringgetErrorMessage()Contains an error message if status is ERROR.List<String>getExecutionErrors()An array of execution errors from the run.DoublegetExpectedDuration()The expected duration for the task run.TaskRun.ExpectedDurationUnitgetExpectedDurationUnit()The expected duration unit of measure.StringgetExternalId()The external identifier for the task run.StringgetIdentifier()Value can only contain upper case letters, underscore and numbers.BooleangetIsLogProcessingInProgress()This field tells the user if there is any logs being fetched in backend for failure.StringgetKey()The key of the object.Map<String,String>getKeyMap()A key map.LonggetLastUpdated()The date and time the object was last updated.ObjectMetadatagetMetadata()Map<String,Float>getMetrics()A map of metrics for the run.StringgetModelType()The type of the object.StringgetModelVersion()The model version of an object.StringgetName()Free form text without any restriction on permitted characters.IntegergetObjectStatus()The status of an object that can be set to value 1 for shallow references across objects, other values reserved.IntegergetObjectVersion()The version of the object that is used to track changes in the object instance.StringgetOpcRequestId()The OPC request ID of execution of the task run.Map<String,ParameterValue>getOutputs()A map of the outputs of the run.ParentReferencegetParentRef()LonggetRecordsWritten()The number of records processed in the task run.IntegergetRetryAttempt()Holds the particular attempt number.LonggetStartTimeMillis()The start time.TaskRun.StatusgetStatus()The status of the task run.StringgetTaskKey()Task Key of the task for which TaskRun is being created.TaskSchedulegetTaskSchedule()TaskRun.TaskTypegetTaskType()The type of task run.List<String>getTerminationErrors()An array of termination errors from the run.inthashCode()TaskRun.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
 
- 
- 
- 
Constructor Detail- 
TaskRun@Deprecated @ConstructorProperties({"key","modelType","modelVersion","parentRef","name","description","objectVersion","configProvider","status","startTimeMillis","endTimeMillis","lastUpdated","recordsWritten","bytesProcessed","errorMessage","expectedDuration","expectedDurationUnit","taskKey","externalId","retryAttempt","taskSchedule","metrics","outputs","executionErrors","terminationErrors","authMode","opcRequestId","objectStatus","taskType","isLogProcessingInProgress","identifier","metadata","keyMap"}) 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, Double expectedDuration, TaskRun.ExpectedDurationUnit expectedDurationUnit, String taskKey, String externalId, Integer retryAttempt, TaskSchedule taskSchedule, Map<String,Float> metrics, Map<String,ParameterValue> outputs, List<String> executionErrors, List<String> terminationErrors, TaskRun.AuthMode authMode, String opcRequestId, Integer objectStatus, TaskRun.TaskType taskType, Boolean isLogProcessingInProgress, String identifier, ObjectMetadata metadata, Map<String,String> keyMap) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static TaskRun.Builder builder() Create a new builder.
 - 
toBuilderpublic TaskRun.Builder toBuilder() 
 - 
getKeypublic String getKey() The key of the object.- Returns:
- the value
 
 - 
getModelTypepublic String getModelType() The type of the object.- Returns:
- the value
 
 - 
getModelVersionpublic String getModelVersion() The model version of an object.- Returns:
- the value
 
 - 
getParentRefpublic ParentReference getParentRef() 
 - 
getNamepublic 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. - Returns:
- the value
 
 - 
getDescriptionpublic String getDescription() Detailed description for the object.- Returns:
- the value
 
 - 
getObjectVersionpublic Integer getObjectVersion() The version of the object that is used to track changes in the object instance.- Returns:
- the value
 
 - 
getConfigProviderpublic ConfigProvider getConfigProvider() 
 - 
getStatuspublic TaskRun.Status getStatus() The status of the task run.- Returns:
- the value
 
 - 
getStartTimeMillispublic Long getStartTimeMillis() The start time.- Returns:
- the value
 
 - 
getEndTimeMillispublic Long getEndTimeMillis() The end time.- Returns:
- the value
 
 - 
getLastUpdatedpublic Long getLastUpdated() The date and time the object was last updated.- Returns:
- the value
 
 - 
getRecordsWrittenpublic Long getRecordsWritten() The number of records processed in the task run.- Returns:
- the value
 
 - 
getBytesProcessedpublic Long getBytesProcessed() The number of bytes processed in the task run.- Returns:
- the value
 
 - 
getErrorMessagepublic String getErrorMessage() Contains an error message if status is ERROR.- Returns:
- the value
 
 - 
getExpectedDurationpublic Double getExpectedDuration() The expected duration for the task run.- Returns:
- the value
 
 - 
getExpectedDurationUnitpublic TaskRun.ExpectedDurationUnit getExpectedDurationUnit() The expected duration unit of measure.- Returns:
- the value
 
 - 
getTaskKeypublic String getTaskKey() Task Key of the task for which TaskRun is being created.If not specified, the AggregatorKey in RegistryMetadata will be assumed to be the TaskKey - Returns:
- the value
 
 - 
getExternalIdpublic String getExternalId() The external identifier for the task run.- Returns:
- the value
 
 - 
getRetryAttemptpublic Integer getRetryAttempt() Holds the particular attempt number.- Returns:
- the value
 
 - 
getTaskSchedulepublic TaskSchedule getTaskSchedule() 
 - 
getOutputspublic Map<String,ParameterValue> getOutputs() A map of the outputs of the run.- Returns:
- the value
 
 - 
getExecutionErrorspublic List<String> getExecutionErrors() An array of execution errors from the run.- Returns:
- the value
 
 - 
getTerminationErrorspublic List<String> getTerminationErrors() An array of termination errors from the run.- Returns:
- the value
 
 - 
getAuthModepublic TaskRun.AuthMode getAuthMode() The autorization mode for when the task was executed.- Returns:
- the value
 
 - 
getOpcRequestIdpublic String getOpcRequestId() The OPC request ID of execution of the task run.- Returns:
- the value
 
 - 
getObjectStatuspublic Integer getObjectStatus() The status of an object that can be set to value 1 for shallow references across objects, other values reserved.- Returns:
- the value
 
 - 
getTaskTypepublic TaskRun.TaskType getTaskType() The type of task run.- Returns:
- the value
 
 - 
getIsLogProcessingInProgresspublic Boolean getIsLogProcessingInProgress() This field tells the user if there is any logs being fetched in backend for failure.Applicable only for failed pipeline tasks. - Returns:
- the value
 
 - 
getIdentifierpublic 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. - Returns:
- the value
 
 - 
getMetadatapublic ObjectMetadata getMetadata() 
 - 
getKeyMappublic 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. - Returns:
- the value
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
toStringpublic 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
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 
- 
 
-