JobSpecification.withJobManagerTask(JobManagerTask jobManagerTask) 方法

定义

Set if the job does not specify a Job Manager task, the user must explicitly add tasks to the job using the Task API. If the job does specify a Job Manager task, the Batch service creates the Job Manager task when the job is created, and will try to schedule the Job Manager task before scheduling other tasks in the job.

public JobSpecification withJobManagerTask(JobManagerTask jobManagerTask)

参数

jobManagerTask
JobManagerTask

the jobManagerTask value to set

返回

the JobSpecification object itself.

适用于