Package hudson.model

Interface Queue.QueueAction

All Superinterfaces:
Action, ModelObject
All Known Implementing Classes:
ParametersAction
Enclosing class:
Queue

public static interface Queue.QueueAction extends Action
An optional interface for actions on Queue.Item. Lets the action cooperate in queue management.
Since:
1.300-ish.
  • Method Details

    • shouldSchedule

      boolean shouldSchedule(List<Action> actions)
      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.