|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FoldableAction
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.
Method Summary | |
---|---|
void |
foldIntoExisting(Queue.Item item,
Queue.Task owner,
List<Action> otherActions)
Notifies that the Queue.Task that "owns" this action (that is, the task for which this action is submitted)
is considered as a duplicate. |
Methods inherited from interface hudson.model.Action |
---|
getDisplayName, getIconFileName, getUrlName |
Method Detail |
---|
void foldIntoExisting(Queue.Item item, Queue.Task owner, List<Action> otherActions)
Queue.Task
that "owns" this action (that is, the task for which this action is submitted)
is considered as a duplicate.
item
- The existing Queue.Item
in the queue against which we are judged as a duplicate. Never null.owner
- The Queue.Task
with which this action was submitted to the queue. Never null.otherActions
- Other Action
s that are submitted with the task. (One of them is this FoldableAction
.)
Never null.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |