Class TaskQueue
- java.lang.Object
 - 
- de.xima.fc.workflow.processor.logic.execution.TaskQueue
 
 
- 
- All Implemented Interfaces:
 Iterable<IWorkflowQueueItem>
public final class TaskQueue extends Object implements Iterable<IWorkflowQueueItem>
A task queue implemented as a list, but only with the methods actually required.- Since:
 - 7.0.0
 - Author:
 - XIMA MEDIA GmbH
 
 
- 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()static TaskQueueforItems(Iterable<IWorkflowQueueItem> items)booleanisEmpty()Iterator<IWorkflowQueueItem>iterator()IWorkflowQueueItempopNextItemScheduledForExecution()voidqueueAfterAllOtherItems(IWorkflowQueueItem item)voidqueueForImmediateExecution(IWorkflowQueueItem item)intsize()- 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait 
- 
Methods inherited from interface java.lang.Iterable
forEach, spliterator 
 - 
 
 - 
 
- 
- 
Method Detail
- 
clear
public void clear()
 
- 
isEmpty
public boolean isEmpty()
 
- 
iterator
public Iterator<IWorkflowQueueItem> iterator()
- Specified by:
 iteratorin interfaceIterable<IWorkflowQueueItem>
 
- 
popNextItemScheduledForExecution
public IWorkflowQueueItem popNextItemScheduledForExecution()
 
- 
queueAfterAllOtherItems
public void queueAfterAllOtherItems(IWorkflowQueueItem item)
 
- 
queueForImmediateExecution
public void queueForImmediateExecution(IWorkflowQueueItem item)
 
- 
size
public int size()
 
- 
forItems
public static TaskQueue forItems(Iterable<IWorkflowQueueItem> items)
 
 - 
 
 -