@Generated(value="OracleSDKGenerator", comments="API Version: 20200430") public final class TaskOperator extends Operator
An operator for task
Note: Objects should always be created or deserialized using the TaskOperator.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 TaskOperator.Builder
, which maintain a
set of all explicitly set fields called TaskOperator.Builder.__explicitlySet__
. The hashCode()
and equals(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
).
Modifier and Type | Class and Description |
---|---|
static class |
TaskOperator.Builder |
static class |
TaskOperator.ExpectedDurationUnit
The expected duration unit of measure.
|
static class |
TaskOperator.RetryDelayUnit
The unit for the retry delay.
|
static class |
TaskOperator.TaskType
The type of the task referenced in the task property.
|
static class |
TaskOperator.TriggerRule
The merge condition.
|
Operator.ModelType
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
TaskOperator(String key,
String modelVersion,
ParentReference parentRef,
String name,
String description,
Integer objectVersion,
List<InputPort> inputPorts,
List<TypedObject> outputPorts,
Integer objectStatus,
String identifier,
List<Parameter> parameters,
ConfigValues opConfigValues,
Integer retryAttempts,
TaskOperator.RetryDelayUnit retryDelayUnit,
Double retryDelay,
Double expectedDuration,
TaskOperator.ExpectedDurationUnit expectedDurationUnit,
TaskOperator.TaskType taskType,
Task task,
TaskOperator.TriggerRule triggerRule,
ConfigProvider configProviderDelegate)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static TaskOperator.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
ConfigProvider |
getConfigProviderDelegate() |
Double |
getExpectedDuration()
The expected duration for the task run.
|
TaskOperator.ExpectedDurationUnit |
getExpectedDurationUnit()
The expected duration unit of measure.
|
Integer |
getRetryAttempts()
The number of retry attempts.
|
Double |
getRetryDelay()
The retry delay, the unit for measurement is in the property retry delay unit.
|
TaskOperator.RetryDelayUnit |
getRetryDelayUnit()
The unit for the retry delay.
|
Task |
getTask() |
TaskOperator.TaskType |
getTaskType()
The type of the task referenced in the task property.
|
TaskOperator.TriggerRule |
getTriggerRule()
The merge condition.
|
int |
hashCode() |
TaskOperator.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
getDescription, getIdentifier, getInputPorts, getKey, getModelVersion, getName, getObjectStatus, getObjectVersion, getOpConfigValues, getOutputPorts, getParameters, getParentRef
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated public TaskOperator(String key, String modelVersion, ParentReference parentRef, String name, String description, Integer objectVersion, List<InputPort> inputPorts, List<TypedObject> outputPorts, Integer objectStatus, String identifier, List<Parameter> parameters, ConfigValues opConfigValues, Integer retryAttempts, TaskOperator.RetryDelayUnit retryDelayUnit, Double retryDelay, Double expectedDuration, TaskOperator.ExpectedDurationUnit expectedDurationUnit, TaskOperator.TaskType taskType, Task task, TaskOperator.TriggerRule triggerRule, ConfigProvider configProviderDelegate)
public static TaskOperator.Builder builder()
Create a new builder.
public TaskOperator.Builder toBuilder()
public Integer getRetryAttempts()
The number of retry attempts.
public TaskOperator.RetryDelayUnit getRetryDelayUnit()
The unit for the retry delay.
public Double getRetryDelay()
The retry delay, the unit for measurement is in the property retry delay unit.
public Double getExpectedDuration()
The expected duration for the task run.
public TaskOperator.ExpectedDurationUnit getExpectedDurationUnit()
The expected duration unit of measure.
public TaskOperator.TaskType getTaskType()
The type of the task referenced in the task property.
public Task getTask()
public TaskOperator.TriggerRule getTriggerRule()
The merge condition. The conditions are ALL_SUCCESS - All the preceeding operators need to be successful. ALL_FAILED - All the preceeding operators should have failed. ALL_COMPLETE - All the preceeding operators should have completed. It could have executed successfully or failed.
public ConfigProvider getConfigProviderDelegate()
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
Copyright © 2016–2024. All rights reserved.