Package hudson.model
Interface Queue.QueueAction
- All Superinterfaces:
 Action,ModelObject
- All Known Implementing Classes:
 ParametersAction
- Enclosing class:
 Queue
An optional interface for actions on Queue.Item.
 Lets the action cooperate in queue management.
- Since:
 - 1.300-ish.
 
- 
Method Summary
Modifier and TypeMethodDescriptionbooleanshouldSchedule(List<Action> actions) Returns whether the new item should be scheduled.Methods inherited from interface hudson.model.Action
getDisplayName, getIconFileName, getUrlName 
- 
Method Details
- 
shouldSchedule
Returns whether the new item should be scheduled. An action should return true if the associated task is 'different enough' to warrant a separate execution. 
 -