Package hudson.model.queue
Class ScheduleResult.Existing
- java.lang.Object
-
- hudson.model.queue.ScheduleResult
-
- hudson.model.queue.ScheduleResult.Existing
-
- Enclosing class:
- ScheduleResult
public static final class ScheduleResult.Existing extends ScheduleResult
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class hudson.model.queue.ScheduleResult
ScheduleResult.Created, ScheduleResult.Existing, ScheduleResult.Refused
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Queue.Item
getItem()
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 Detail
-
getItem
public Queue.Item 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
-
-