hudson.model
Interface Queue.QueueAction

All Superinterfaces:
Action, ModelObject
All Known Implementing Classes:
MatrixConfiguration.ParentBuildAction, 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 Summary
 boolean shouldSchedule(List<Action> actions)
          Returns whether the new item should be scheduled.
 
Methods inherited from interface hudson.model.Action
getDisplayName, getIconFileName, getUrlName
 

Method Detail

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.



Copyright © 2004-2013. All Rights Reserved.