|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.umber.catalan.process.queue.DefaultQueue
A collection of processing nodes. Can be read-only or read/write. Includes a IQueue-wide property Map.
Constructor Summary | |
DefaultQueue()
Creates a new instance of a writable DefaultQueue with no properties. |
|
DefaultQueue(IQueue queue)
Creates a new instance as a copy of the given queue. |
|
DefaultQueue(java.util.List nodes)
Creates a new instance of a writable DefaultQueue with the queue nodes. |
|
DefaultQueue(java.util.List nodes,
IWorkProperties properties,
boolean writable)
Creates a new instance of DefaultQueue with a work property set. |
Method Summary | |
java.util.List |
getNodes()
Retrieves the current node processing list. |
IWorkProperties |
getProperties()
Retrieves the container for all properties currently set in the workspace. |
boolean |
isReadOnly()
Determines if a queue is read-only. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DefaultQueue()
public DefaultQueue(IQueue queue)
queue
- source queue to load this queue withpublic DefaultQueue(java.util.List nodes)
nodes
- initial set of nodespublic DefaultQueue(java.util.List nodes, IWorkProperties properties, boolean writable)
nodes
- initial set of nodesproperties
- IPropertyHolder propertieswritable
- true to allow modification of queue nodesMethod Detail |
public IWorkProperties getProperties()
getProperties
in interface IPropertyHolder
public java.util.List getNodes()
getNodes
in interface IQueue
public boolean isReadOnly()
UnsupportedOperationException
.
Note: Operations on the nodes themselves cannot be screened out, so a read-only queue is only truly read-only if all of its nodes are immutable.
isReadOnly
in interface IQueue
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |