public interface JobContainerConfiguration
Modifier and Type | Method and Description |
---|---|
void |
addJob(JobConfiguration job)
Adds a job to the job list.
|
void |
addJob(JobConfiguration job,
int index)
Adds a job to the job list.
|
void |
clearJobs()
Removes all jobs from the job list.
|
JobConfiguration[] |
getJobs()
Returns the job list which might be edited by the caller.
|
void |
removeJobAt(int index)
Removes the job at the given index.
|
void |
setJobs(JobConfiguration[] jobs)
Sets the job list to the given list.
|
JobConfiguration[] getJobs()
void setJobs(JobConfiguration[] jobs)
jobs
- New job list.void removeJobAt(int index)
index
- Index of the job to be removed.void addJob(JobConfiguration job)
job
- Job to be added.void addJob(JobConfiguration job, int index)
job
- Job to be added.index
- Index where the job should be added.void clearJobs()