public class CreateTaskSchedulerConfiguration extends AbstractModel
header, skipSign
Constructor and Description |
---|
CreateTaskSchedulerConfiguration() |
CreateTaskSchedulerConfiguration(CreateTaskSchedulerConfiguration source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
String |
getAllowRedoType()
Get Rerun & Refill Configuration: Default: ALL;
ALL: Rerun or refill is allowed regardless of whether the task succeeds or fails.
|
String |
getCalendarId()
Get Calendar scheduling: the calendar ID.
|
String |
getCalendarOpen()
Get Calendar scheduling value: 0 or 1, where 1 means ON and 0 means OFF.
|
String |
getCrontabExpression()
Get Cron expression, defaults to 0 0 0 * * ? *.
|
String |
getCycleType()
Get Period type: defaults to DAY_CYCLE.
|
String |
getEndTime()
Get End date, defaults to 2099-12-31 23:59:59.
|
EventListener[] |
getEventListenerList()
Get List of Events
|
String |
getExecutionEndTime()
Get Execution time: the right closed interval.
|
String |
getExecutionStartTime()
Get Execution time: the left-closed interval.
|
String |
getExecutionTTL()
Get Timeout Handling Policy: Execution Timeout (in minutes), default: -1
|
String |
getInitStrategy()
Get **Instance generation policy**.
|
String |
getMaxRetryAttempts()
Get Retry Policy: maximum attempts.
|
InTaskParameter[] |
getParamTaskInList()
Get Input parameter list.
|
OutTaskParameter[] |
getParamTaskOutList()
Get Output parameter list.
|
String |
getRetryWait()
Get Retry Policy: Retry Wait Time (in minutes): Default 5
|
String |
getRunPriority()
Get Task scheduling priority.
|
String |
getScheduleRunType()
Get Scheduling type: 0 for normal scheduling, 1 for dry-run scheduling.
|
String |
getScheduleTimeZone()
Get Time zone, defaults to UTC+8.
|
String |
getSelfDepend()
Get Self-Dependent.
|
String |
getStartTime()
Get Effective date, defaults to 00:00:00 of the current date.
|
TaskDataRegistry[] |
getTaskOutputRegistryList()
Get Output registration.
|
DependencyTaskBrief[] |
getUpstreamDependencyConfigList()
Get Specifies the upstream dependency list.
|
String |
getWaitExecutionTotalTTL()
Get Timeout Handling Policy: Wait Duration Timeout (in minutes), default: -1
|
void |
setAllowRedoType(String AllowRedoType)
Set Rerun & Refill Configuration: Default: ALL;
ALL: Rerun or refill is allowed regardless of whether the task succeeds or fails.
|
void |
setCalendarId(String CalendarId)
Set Calendar scheduling: the calendar ID.
|
void |
setCalendarOpen(String CalendarOpen)
Set Calendar scheduling value: 0 or 1, where 1 means ON and 0 means OFF.
|
void |
setCrontabExpression(String CrontabExpression)
Set Cron expression, defaults to 0 0 0 * * ? *.
|
void |
setCycleType(String CycleType)
Set Period type: defaults to DAY_CYCLE.
|
void |
setEndTime(String EndTime)
Set End date, defaults to 2099-12-31 23:59:59.
|
void |
setEventListenerList(EventListener[] EventListenerList)
Set List of Events
|
void |
setExecutionEndTime(String ExecutionEndTime)
Set Execution time: the right closed interval.
|
void |
setExecutionStartTime(String ExecutionStartTime)
Set Execution time: the left-closed interval.
|
void |
setExecutionTTL(String ExecutionTTL)
Set Timeout Handling Policy: Execution Timeout (in minutes), default: -1
|
void |
setInitStrategy(String InitStrategy)
Set **Instance generation policy**.
|
void |
setMaxRetryAttempts(String MaxRetryAttempts)
Set Retry Policy: maximum attempts.
|
void |
setParamTaskInList(InTaskParameter[] ParamTaskInList)
Set Input parameter list.
|
void |
setParamTaskOutList(OutTaskParameter[] ParamTaskOutList)
Set Output parameter list.
|
void |
setRetryWait(String RetryWait)
Set Retry Policy: Retry Wait Time (in minutes): Default 5
|
void |
setRunPriority(String RunPriority)
Set Task scheduling priority.
|
void |
setScheduleRunType(String ScheduleRunType)
Set Scheduling type: 0 for normal scheduling, 1 for dry-run scheduling.
|
void |
setScheduleTimeZone(String ScheduleTimeZone)
Set Time zone, defaults to UTC+8.
|
void |
setSelfDepend(String SelfDepend)
Set Self-Dependent.
|
void |
setStartTime(String StartTime)
Set Effective date, defaults to 00:00:00 of the current date.
|
void |
setTaskOutputRegistryList(TaskDataRegistry[] TaskOutputRegistryList)
Set Output registration.
|
void |
setUpstreamDependencyConfigList(DependencyTaskBrief[] UpstreamDependencyConfigList)
Set Specifies the upstream dependency list.
|
void |
setWaitExecutionTotalTTL(String WaitExecutionTotalTTL)
Set Timeout Handling Policy: Wait Duration Timeout (in minutes), default: -1
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public CreateTaskSchedulerConfiguration()
public CreateTaskSchedulerConfiguration(CreateTaskSchedulerConfiguration source)
public String getCycleType()
public void setCycleType(String CycleType)
CycleType
- Period type: defaults to DAY_CYCLE.
Supported types.
ONEOFF_CYCLE: specifies a one-time cycle.
YEAR_CYCLE: specifies the year cycle.
MONTH_CYCLE: specifies the monthly cycle.
WEEK_CYCLE: specifies the week cycle.
DAY_CYCLE: specifies the day cycle.
HOUR_CYCLE: specifies the hour cycle.
MINUTE_CYCLE: specifies the minute cycle.
CRONTAB_CYCLE: specifies the crontab expression type.public String getScheduleTimeZone()
public void setScheduleTimeZone(String ScheduleTimeZone)
ScheduleTimeZone
- Time zone, defaults to UTC+8.public String getCrontabExpression()
public void setCrontabExpression(String CrontabExpression)
CrontabExpression
- Cron expression, defaults to 0 0 0 * * ? *.public String getStartTime()
public void setStartTime(String StartTime)
StartTime
- Effective date, defaults to 00:00:00 of the current date.public String getEndTime()
public void setEndTime(String EndTime)
EndTime
- End date, defaults to 2099-12-31 23:59:59.public String getExecutionStartTime()
public void setExecutionStartTime(String ExecutionStartTime)
ExecutionStartTime
- Execution time: the left-closed interval. Default: 00:00.public String getExecutionEndTime()
public void setExecutionEndTime(String ExecutionEndTime)
ExecutionEndTime
- Execution time: the right closed interval. Default: 23:59.public String getScheduleRunType()
public void setScheduleRunType(String ScheduleRunType)
ScheduleRunType
- Scheduling type: 0 for normal scheduling, 1 for dry-run scheduling. Default is 0.public String getCalendarOpen()
public void setCalendarOpen(String CalendarOpen)
CalendarOpen
- Calendar scheduling value: 0 or 1, where 1 means ON and 0 means OFF. Default is 0.public String getCalendarId()
public void setCalendarId(String CalendarId)
CalendarId
- Calendar scheduling: the calendar ID.public String getSelfDepend()
public void setSelfDepend(String SelfDepend)
SelfDepend
- Self-Dependent. Valid values: parallel, serial, orderly. Default value: serial.public DependencyTaskBrief[] getUpstreamDependencyConfigList()
public void setUpstreamDependencyConfigList(DependencyTaskBrief[] UpstreamDependencyConfigList)
UpstreamDependencyConfigList
- Specifies the upstream dependency list.public EventListener[] getEventListenerList()
public void setEventListenerList(EventListener[] EventListenerList)
EventListenerList
- List of Eventspublic String getRunPriority()
public void setRunPriority(String RunPriority)
RunPriority
- Task scheduling priority. Valid values: 4 (high), 5 (medium), 6 (low). Default: 6.public String getRetryWait()
public void setRetryWait(String RetryWait)
RetryWait
- Retry Policy: Retry Wait Time (in minutes): Default 5public String getMaxRetryAttempts()
public void setMaxRetryAttempts(String MaxRetryAttempts)
MaxRetryAttempts
- Retry Policy: maximum attempts. Default: 4.public String getExecutionTTL()
public void setExecutionTTL(String ExecutionTTL)
ExecutionTTL
- Timeout Handling Policy: Execution Timeout (in minutes), default: -1public String getWaitExecutionTotalTTL()
public void setWaitExecutionTotalTTL(String WaitExecutionTotalTTL)
WaitExecutionTotalTTL
- Timeout Handling Policy: Wait Duration Timeout (in minutes), default: -1public String getAllowRedoType()
public void setAllowRedoType(String AllowRedoType)
AllowRedoType
- Rerun & Refill Configuration: Default: ALL;
ALL: Rerun or refill is allowed regardless of whether the task succeeds or fails.
FAILURE: Rerun or refill is allowed only if the task fails; not allowed if the task succeeds.
NONE: Rerun or refill is not allowed regardless of success or failure.public OutTaskParameter[] getParamTaskOutList()
public void setParamTaskOutList(OutTaskParameter[] ParamTaskOutList)
ParamTaskOutList
- Output parameter list.public InTaskParameter[] getParamTaskInList()
public void setParamTaskInList(InTaskParameter[] ParamTaskInList)
ParamTaskInList
- Input parameter list.public TaskDataRegistry[] getTaskOutputRegistryList()
public void setTaskOutputRegistryList(TaskDataRegistry[] TaskOutputRegistryList)
TaskOutputRegistryList
- Output registration.public String getInitStrategy()
public void setInitStrategy(String InitStrategy)
InitStrategy
- **Instance generation policy**.
T_PLUS_0: specifies t+0 generation. default policy.
T_PLUS_1: specifies t+1 generation.Copyright © 2025. All rights reserved.