@Service(name="job-creator") public class JobCreatorService extends Object implements JobCreator
JobCreator and is
used for creating Jobs| Constructor and Description |
|---|
JobCreatorService() |
| Modifier and Type | Method and Description |
|---|---|
Job |
createJob(String id,
String scope,
String name,
Subject subject,
boolean isManagedJob,
ParameterMap parameters)
This will create a new job with the name of command and a new unused id for the job
|
public Job createJob(String id, String scope, String name, Subject subject, boolean isManagedJob, ParameterMap parameters)
createJob in interface JobCreatorscope - The scope of the command or null if there is no scopename - The name of the commandCopyright © 2017. All rights reserved.