Package hudson.model.queue
Interface FoldableAction
- All Superinterfaces:
- Action,- ModelObject
- All Known Implementing Classes:
- CauseAction
An action interface that allows action data to be folded together.
 
 Action can implement this optional marker interface to be notified when
 the Queue.Task that it's added to the queue with is determined to be "already in the queue".
 
This is useful for passing on parameters to the task that's already in the queue.
- Since:
- 1.300-ish.
- Author:
- mdonohue
- 
Method SummaryModifier and TypeMethodDescriptionvoidfoldIntoExisting(Queue.Item item, Queue.Task owner, List<Action> otherActions) Notifies that theQueue.Taskthat "owns" this action (that is, the task for which this action is submitted) is considered as a duplicate.Methods inherited from interface hudson.model.ActiongetDisplayName, getIconFileName, getUrlName
- 
Method Details- 
foldIntoExistingNotifies that theQueue.Taskthat "owns" this action (that is, the task for which this action is submitted) is considered as a duplicate.- Parameters:
- item- The existing- Queue.Itemin the queue against which we are judged as a duplicate. Never null.
- owner- The- Queue.Taskwith which this action was submitted to the queue. Never null.
- otherActions- Other- Actions that are submitted with the task. (One of them is this- FoldableAction.) Never null.
 
 
-