public interface FoldableAction extends Action
This is useful for passing on parameters to the task that's already in the queue.
|Modifier and Type||Method and Description|
Notifies that the
void foldIntoExisting(Queue.Item item, Queue.Task owner, List<Action> otherActions)
Queue.Taskthat "owns" this action (that is, the task for which this action is submitted) is considered as a duplicate.
item- The existing
Queue.Itemin the queue against which we are judged as a duplicate. Never null.
Queue.Taskwith which this action was submitted to the queue. Never null.
Actions that are submitted with the task. (One of them is this
FoldableAction.) Never null.
Copyright © 2004–2020. All rights reserved.