|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.umber.catalan.process.queue.DefaultNamedQueue
A IQueue that holds named properties; an INamedQueue should wrap a Map collection. The getNodes() method returns the set of values in the Map, without any key info.
Constructor Summary | |
DefaultNamedQueue()
Creates a new empty instance of DefaultNamedQueue. |
|
DefaultNamedQueue(java.util.Map nodes,
java.util.Map properties,
boolean writable)
Creates a new instance of DefaultNamedQueue initialized with the given parameters. |
Method Summary | |
java.util.Map |
getMap()
Retrieves the key/value Map of all named nodes in the INamedQueue. |
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 DefaultNamedQueue()
public DefaultNamedQueue(java.util.Map nodes, java.util.Map properties, boolean writable) throws QueueException
nodes
- default Map of named nodes, can be nullproperties
- Map of IQueue-level properties, can be nullwritable
- true to allow modification of the queue nodes
QueueException
- if properties map contains any non-String keysMethod Detail |
public IWorkProperties getProperties()
getProperties
in interface IPropertyHolder
public java.util.List getNodes()
getMap()
.
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
public java.util.Map getMap()
getNodes()
are not named nodes and will not appear in this
map.
getMap
in interface INamedQueue
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |