|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Adapter
Adapter Interface
Method Summary | |
---|---|
void |
cancelJob(int id)
Cancels a Job See the state diagram of Job lifecycle for more details |
Job |
getJob(int id)
Returns the Job with the given Id |
Job |
getNextJob()
This method is waiting until a new Job to process shows up |
Job |
insertJob(Job job)
Creates a new Job |
List<Job> |
listJobs()
Lists all Jobs |
void |
updateJob(Job job)
Updates a Job |
Method Detail |
---|
Job getNextJob()
Job getJob(int id)
id
-
List<Job> listJobs()
void updateJob(Job job)
job
- Job insertJob(Job job)
job
-
void cancelJob(int id)
id
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |