Package hudson.model.queue
Class ScheduleResult.Existing
java.lang.Object
hudson.model.queue.ScheduleResult
hudson.model.queue.ScheduleResult.Existing
- Enclosing class:
- ScheduleResult
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.model.queue.ScheduleResult
ScheduleResult.Created, ScheduleResult.Existing, ScheduleResult.Refused
-
Method Summary
Modifier and TypeMethodDescriptiongetItem()
UnlessScheduleResult.isRefused()
is true, this method either returns the newly created item in the queue or the existing item that's already in the queue that matched the submitted task.Methods inherited from class hudson.model.queue.ScheduleResult
created, existing, getCreateItem, isAccepted, isCreated, isRefused, refused
-
Method Details
-
getItem
Description copied from class:ScheduleResult
UnlessScheduleResult.isRefused()
is true, this method either returns the newly created item in the queue or the existing item that's already in the queue that matched the submitted task.- Overrides:
getItem
in classScheduleResult
-