public final class Job extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Job.CreateBatchOperation
The Class CreateBatchOperation.
|
static class |
Job.Creator
The Class Creator.
|
| Modifier and Type | Method and Description |
|---|---|
static EntityActionOperation |
cancel(String jobId)
Cancel.
|
static Job.Creator |
create()
Creates an operation to create a new job.
|
static EntityDeleteOperation |
delete(String jobId)
Create an operation to delete the given job.
|
static EntityGetOperation<JobInfo> |
get(String jobId)
Create an operation object that will get the state of the given job.
|
static DefaultListOperation<JobInfo> |
list()
Create an operation that will list all the jobs.
|
public static Job.Creator create()
public static EntityGetOperation<JobInfo> get(String jobId)
jobId - id of job to retrievepublic static DefaultListOperation<JobInfo> list()
public static EntityDeleteOperation delete(String jobId)
jobId - id of job to deletepublic static EntityActionOperation cancel(String jobId)
jobId - the job id/**
* Copyright Microsoft Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/