public class Job extends AbstractModel
Constructor and Description |
---|
Job() |
Modifier and Type | Method and Description |
---|---|
Dependence[] |
getDependences()
Get 依赖信息
|
String |
getJobDescription()
Get 作业描述
|
String |
getJobName()
Get 作业名称
|
Notification[] |
getNotifications()
Get 通知信息
|
Long |
getPriority()
Get 作业优先级,任务(Task)和任务实例(TaskInstance)会继承作业优先级
|
String |
getStateIfCreateCvmFailed()
Get 表示创建 CVM 失败按照何种策略处理。取值范围包括 FAILED,RUNNABLE。FAILED 表示创建 CVM 失败按照一次执行失败处理,RUNNABLE 表示创建 CVM 失败按照继续等待处理。默认值为FAILED。StateIfCreateCvmFailed对于提交的指定计算环境的作业无效。
|
String |
getTaskExecutionDependOn()
Get 对于存在依赖关系的任务中,后序任务执行对于前序任务的依赖条件。取值范围包括 PRE_TASK_SUCCEED,PRE_TASK_AT_LEAST_PARTLY_SUCCEED,PRE_TASK_FINISHED,默认值为PRE_TASK_SUCCEED。
|
Task[] |
getTasks()
Get 任务信息
|
void |
setDependences(Dependence[] Dependences)
Set 依赖信息
|
void |
setJobDescription(String JobDescription)
Set 作业描述
|
void |
setJobName(String JobName)
Set 作业名称
|
void |
setNotifications(Notification[] Notifications)
Set 通知信息
|
void |
setPriority(Long Priority)
Set 作业优先级,任务(Task)和任务实例(TaskInstance)会继承作业优先级
|
void |
setStateIfCreateCvmFailed(String StateIfCreateCvmFailed)
Set 表示创建 CVM 失败按照何种策略处理。取值范围包括 FAILED,RUNNABLE。FAILED 表示创建 CVM 失败按照一次执行失败处理,RUNNABLE 表示创建 CVM 失败按照继续等待处理。默认值为FAILED。StateIfCreateCvmFailed对于提交的指定计算环境的作业无效。
|
void |
setTaskExecutionDependOn(String TaskExecutionDependOn)
Set 对于存在依赖关系的任务中,后序任务执行对于前序任务的依赖条件。取值范围包括 PRE_TASK_SUCCEED,PRE_TASK_AT_LEAST_PARTLY_SUCCEED,PRE_TASK_FINISHED,默认值为PRE_TASK_SUCCEED。
|
void |
setTasks(Task[] Tasks)
Set 任务信息
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public Task[] getTasks()
public void setTasks(Task[] Tasks)
Tasks
- 任务信息public String getJobName()
public void setJobName(String JobName)
JobName
- 作业名称public String getJobDescription()
public void setJobDescription(String JobDescription)
JobDescription
- 作业描述public Long getPriority()
public void setPriority(Long Priority)
Priority
- 作业优先级,任务(Task)和任务实例(TaskInstance)会继承作业优先级public Dependence[] getDependences()
public void setDependences(Dependence[] Dependences)
Dependences
- 依赖信息public Notification[] getNotifications()
public void setNotifications(Notification[] Notifications)
Notifications
- 通知信息public String getTaskExecutionDependOn()
public void setTaskExecutionDependOn(String TaskExecutionDependOn)
TaskExecutionDependOn
- 对于存在依赖关系的任务中,后序任务执行对于前序任务的依赖条件。取值范围包括 PRE_TASK_SUCCEED,PRE_TASK_AT_LEAST_PARTLY_SUCCEED,PRE_TASK_FINISHED,默认值为PRE_TASK_SUCCEED。public String getStateIfCreateCvmFailed()
public void setStateIfCreateCvmFailed(String StateIfCreateCvmFailed)
StateIfCreateCvmFailed
- 表示创建 CVM 失败按照何种策略处理。取值范围包括 FAILED,RUNNABLE。FAILED 表示创建 CVM 失败按照一次执行失败处理,RUNNABLE 表示创建 CVM 失败按照继续等待处理。默认值为FAILED。StateIfCreateCvmFailed对于提交的指定计算环境的作业无效。Copyright © 2020. All rights reserved.