public interface RemoteTree
Modifier and Type | Method and Description |
---|---|
Map<String,RemoteTree> |
getChildren()
Read the children associated to the root of this remote tree.
|
Map<String,RemoteValue> |
getProperties()
Read the properties associated to the root of this remote tree.
|
boolean |
hasMoreChildren()
Return a flag to indicate that this remote tree actually has more
children than the one returned by
getChildren() . |
Map<String,RemoteValue> getProperties()
RemoteTree
this method is invoked on.Map<String,RemoteTree> getChildren()
RemoteTree
this method is invoked on. The children of this remote tree are
themselves remote trees.
The remote tree may be truncated at some point (e.g. to avoid very deep
remote trees to be returned), and this is the reason why the values of
this Map
can be null
. When a null
value is met,
the consumer of this interface must assume that there is another subtree
rooted under the corresponding key, but it is not returned to fulfill the
filtering options provided when this tree was read.boolean hasMoreChildren()
getChildren()
.
This flag is important when the repository tree is read using very strict
filtering options regarding the maximum number of children to return. If
this method returns true
, a consumer of this interface must
assume that there are more children than the one attached to the root of
this tree. They could be retrieved by varying the relevant filtering
options and performing another read for this subtree.false
otherwise.Copyright © 2012-2015 The Apache Software Foundation. All Rights Reserved.