Package | Description |
---|---|
com.tailf.dp |
Data provider API package, for implementation of callbacks for validations, actions, transformation etc.
|
com.tailf.dp.annotations |
Annotations and proxy helper classes for callbacks.
|
com.tailf.dp.services |
Service callback specific context and utilities.
|
com.tailf.navu |
NAVU (Navigation Utilities) is an API which provides increased
accessibility to the ConfD/NCS populated data model tree:
NAVU-Tree.
|
com.tailf.navu.traversal |
Utility package for traversing the NAVU tree using NAVU API.
|
Modifier and Type | Method and Description |
---|---|
Properties |
DpNanoServiceCallback.create(NanoServiceContext context,
NavuNode service,
NavuNode root,
Properties opaque)
Nano Create callback method.
|
Properties |
DpServiceCallback.create(ServiceContext context,
NavuNode service,
NavuNode root,
Properties opaque)
Create callback method.
|
Properties |
DpNanoServiceCallback.delete(NanoServiceContext context,
NavuNode service,
NavuNode root,
Properties opaque)
Nano Delete callback method.
|
Properties |
DpServiceCallback.preLockCreate(ServiceContext context,
NavuNode service,
NavuNode root,
Properties opaque)
pre lock create callback method.
|
Modifier and Type | Method and Description |
---|---|
Properties |
NanoServiceCallbackProxy.create(NanoServiceContext context,
NavuNode service,
NavuNode root,
Properties opaque) |
Properties |
ServiceCallbackProxy.create(ServiceContext context,
NavuNode service,
NavuNode root,
Properties opaque) |
Properties |
NanoServiceCallbackProxy.delete(NanoServiceContext context,
NavuNode service,
NavuNode root,
Properties opaque) |
Properties |
ServiceCallbackProxy.delete(ServiceContext context,
NavuNode root,
Properties opaque) |
Properties |
ServiceCallbackProxy.preLockCreate(ServiceContext context,
NavuNode service,
NavuNode root,
Properties opaque) |
Properties |
ServiceCallbackProxy.update(ServiceContext context,
NavuNode service,
NavuNode root,
Properties opaque) |
Modifier and Type | Method and Description |
---|---|
NavuNode |
ServiceContext.getRootNode()
Returns the path root as a NavuNode with the
NavuContext attached to the ongoing Maapi transaction.
|
NavuNode |
ServiceContextImpl.getRootNode()
Internal, subject to change without notice.
Returns the path root as a NavuNode with the
NavuContext attached to the ongoing Maapi transaction.
|
NavuNode |
NanoServiceContextImpl.getServiceNode()
Internal, subject to change without notice.
|
NavuNode |
ServiceContext.getServiceNode()
Returns the current service path as a NavuNode with the
NavuContext attached to the ongoing Maapi transaction.
|
NavuNode |
ServiceContextImpl.getServiceNode()
Internal, subject to change without notice.
Returns the current service path as a NavuNode with the
NavuContext attached to the ongoing Maapi transaction.
|
Modifier and Type | Method and Description |
---|---|
static void |
ServiceLog.debug(NavuNode service,
String msg,
ConfIdentityRef type)
Write service log entry with level debug.
|
static void |
ServiceLog.error(NavuNode service,
String msg,
ConfIdentityRef type)
Write service log entry with level error.
|
static void |
ServiceLog.info(NavuNode service,
String msg,
ConfIdentityRef type)
Write service log entry with level info.
|
static void |
ServiceLog.trace(NavuNode service,
String msg,
ConfIdentityRef type)
Write service log entry with level trace.
|
static void |
ServiceLog.warn(NavuNode service,
String msg,
ConfIdentityRef type)
Write service log entry with level warn.
|
Modifier and Type | Class and Description |
---|---|
class |
NavuAction
This class represents a action modeled in the data model.
|
class |
NavuContainer
NavuContainer is a representation of the yang
construct container,module and list-entry. |
class |
NavuLeaf
The
NavuLeaf class corresponding to the
Yang leaf and leaf-list node types. |
class |
NavuList
NavuList is a representation of the yang list node. |
class |
NavuListEntry
A
NavuList holds this representation of a entry as its
children or entry set. |
Modifier and Type | Method and Description |
---|---|
NavuNode |
NavuChange.get(int index)
Returns a node at a certain position.
|
NavuNode |
NavuContainer.get(String nodeName)
Returns a subordinate node with the name
nodeName . |
NavuNode |
NavuNode.getNavuNode(ConfPath path)
Retrieve a NavuNode based on the given absolute or relative
path.
|
NavuNode |
NavuAction.getNavuNode(ConfPath path) |
NavuNode |
NavuCdbSubscriptionContext.getNode()
Deprecated.
Returns the
NavuNode that represents the current
node in the iteration. |
NavuNode |
NavuXPathContext.getNode()
Get current NavuNode
|
static NavuNode |
KeyPath2NavuNode.getNode(ConfObject[] kp,
NavuContext ctx) |
static NavuNode |
KeyPath2NavuNode.getNode(ConfPath path,
NavuContext ctx) |
NavuNode |
NavuNode.getParent()
Returns the parent of the node.
|
NavuNode |
NavuList.getParent() |
NavuNode |
NavuLeaf.getParent() |
NavuNode |
NavuAction.getParent() |
abstract NavuNode |
NavuNode.setChange(List<ConfObject> path,
DiffIterateOperFlag op,
ConfValue oldValue,
NavuContext delContext)
Internal, subject to change without notice.
|
NavuNode |
NavuList.setChange(List<ConfObject> path,
DiffIterateOperFlag op,
ConfValue oldValue,
NavuContext delContext) |
NavuNode |
NavuLeaf.setChange(List<ConfObject> kp,
DiffIterateOperFlag op,
ConfValue oldValue,
NavuContext delContext) |
NavuNode |
NavuAction.setChange(List<ConfObject> kp,
DiffIterateOperFlag op,
ConfValue oldValue,
NavuContext delContext)
Sets the change type on a node.
|
NavuNode |
NavuContainer.setChange(List<ConfObject> path,
DiffIterateOperFlag op,
ConfValue oldValue,
NavuContext delContext) |
Modifier and Type | Method and Description |
---|---|
Collection<NavuNode> |
NavuNode.children()
Return the children of this NavuNode.
|
Collection<NavuNode> |
NavuList.children()
Returns elements contained by the list node.
|
Collection<NavuNode> |
IllegalParentNavuNodeException.children() |
Collection<NavuNode> |
NoSuchNavuNodeException.children() |
Collection<NavuNode> |
NavuAction.children()
Return the children of this node.
|
Collection<NavuNode> |
NavuContainer.children()
Returns a collection of child nodes
contained by the container.
|
List<NavuNode> |
NavuLeaf.deref()
Derefs a leafref and returns the referenced objects
|
Set<Map.Entry<String,NavuNode>> |
NavuContainer.entrySet()
Returns a set of value-pairs.
|
List<NavuNode> |
NavuNode.getChanges()
Return the descendant
NavuNode 's
(including this element) that has been affected by
changes to the MAAPI transaction. |
List<NavuNode> |
NavuAction.getChanges() |
List<NavuNode> |
NavuNode.getChanges(boolean emitSubTree)
Return the descendant
NavuNode including this
NavuNode that has been affected by the
current MAAPI transaction. |
List<NavuNode> |
NavuAction.getChanges(boolean emitSubtree) |
List<NavuNode> |
NavuNode.getChanges(boolean emitSubTree,
DiffIterateOperFlag... forOps)
Return the descendant
NavuNode including this
NavuNode that has been affected by the
current MAAPI transaction. |
List<NavuNode> |
NavuAction.getChanges(boolean emitSubtree,
DiffIterateOperFlag... forOps) |
List<NavuNode> |
NavuXPathSelectResultSetAccumulate.getNodeSet()
Internal, subject to change without notice.
|
List<NavuNode> |
NavuContainer.getSelectCaseAsNavuNode(String choice)
Returns a collection of the "toplevel" node elements of
the a current selected case.
|
Iterator<NavuNode> |
NavuChange.iterator() |
abstract Collection<NavuNode> |
NavuNode.select(ConfObject[] query) |
Collection<NavuNode> |
NavuList.select(ConfObject[] kp) |
Collection<NavuNode> |
NavuLeaf.select(ConfObject[] query) |
Collection<NavuNode> |
NavuAction.select(ConfObject[] query) |
Collection<NavuNode> |
NavuContainer.select(ConfObject[] kp) |
abstract Collection<NavuNode> |
NavuNode.select(List<String> query) |
Collection<NavuNode> |
NavuList.select(List<String> path) |
Collection<NavuNode> |
NavuLeaf.select(List<String> path) |
Collection<NavuNode> |
NavuAction.select(List<String> query)
Not supported returns only an empty Collection
|
Collection<NavuNode> |
NavuContainer.select(List<String> path) |
abstract Collection<NavuNode> |
NavuNode.select(String query) |
Collection<NavuNode> |
NavuList.select(String path) |
Collection<NavuNode> |
NavuLeaf.select(String path) |
Collection<NavuNode> |
NavuAction.select(String query)
Not supported returns only an empty Collection
|
Collection<NavuNode> |
NavuContainer.select(String path) |
List<NavuNode> |
NavuChange.subList(int startIndex,
int stopindex) |
List<NavuNode> |
NavuNode.xPathSelect(String query)
Evaluates the XPath Path expression query returns
resulting node set as list of NavuNode's.
|
List<NavuNode> |
NavuAction.xPathSelect(String xPath) |
Modifier and Type | Method and Description |
---|---|
boolean |
NavuChange.add(NavuNode e)
Adds a node.
|
boolean |
NavuChange.contains(NavuNode node)
Checks if a node is already contained by the change.
|
boolean |
NavuContainer.containsNode(NavuNode node)
Checks if the given node is contained in the schema in this container.
|
static NoSuchNavuNodeException |
NoSuchNavuNodeException.mk(NavuNode node,
String errKey) |
static NoSuchNavuNodeException |
NoSuchNavuNodeException.mk(NavuNode node,
String errKey,
EnumSet<com.tailf.navu.Verbosity> verbosity) |
static NoSuchNavuNodeException |
NoSuchNavuNodeException.mk(NavuNode node,
String childType,
String errKey) |
static NoSuchNavuNodeException |
NoSuchNavuNodeException.mk(NavuNode node,
String childType,
String errKey,
EnumSet<com.tailf.navu.Verbosity> verbosity) |
NavuCdbSubscriber |
NavuCdbSubscriber.register(NavuCdbDiffIterate cb,
NavuNode node)
Deprecated.
Register a user provided callback with a specified NavuNode.
|
NavuCdbSubscriber |
NavuCdbConfigSubscriber.register(NavuCdbDiffIterate cb,
NavuNode node)
Deprecated.
Registers a subscription item onto the
NavuCdbConfigSubscriber
with a given user provided callback that will be invoked on
Cdb notifications. |
NavuCdbSubscriber |
NavuCdbOperSubscriber.register(NavuCdbDiffIterate cb,
NavuNode node)
Deprecated.
Registers a subscription item onto the this
NavuCdbOperSubscriber
with a given user provided callback that will be invoked on
Cdb notifications. |
NavuCdbSubscriber |
NavuCdbSubscriber.register(NavuCdbDiffIterate cb,
NavuNode node,
EnumSet<DiffIterateFlags> diffIterFlags)
Deprecated.
Register a user provided callback with a specified NavuNode with
additional iteration flags.
|
NavuCdbSubscriber |
NavuCdbConfigSubscriber.register(NavuCdbDiffIterate cb,
NavuNode node,
EnumSet<DiffIterateFlags> flags)
Deprecated.
Registers a subscription item onto the
NavuCdbConfigSubscriber
with a given user provided callback that will be invoked on
Cdb notifications. |
NavuCdbSubscriber |
NavuCdbOperSubscriber.register(NavuCdbDiffIterate cb,
NavuNode node,
EnumSet<DiffIterateFlags> flags)
Deprecated.
Registers a subscription item onto the this
NavuCdbOperSubscriber
with a given user provided callback that will be invoked on
Cdb notifications. |
void |
PreparedXMLStatement.set(NavuNode node)
Deprecated.
|
void |
PreparedXMLStatement.setValues(NavuNode node) |
void |
PreparedXMLStatement.sharedSetValues(NavuNode node) |
abstract void |
NavuNode.valueUpdateInd(NavuNode child)
Internal, subject to change without notice.
|
void |
NavuList.valueUpdateInd(NavuNode child) |
void |
NavuLeaf.valueUpdateInd(NavuNode child) |
void |
NavuAction.valueUpdateInd(NavuNode child) |
void |
NavuContainer.valueUpdateInd(NavuNode child)
An indication received from a child node.
|
Constructor and Description |
---|
NavuCursor(CdbSession cdbSession,
NavuNode node,
String fmt,
Object... arguments)
Constructor to be used when in CDB mode.
|
PreparedXMLStatement(ConfXMLParam[] params,
Map<Integer,Object[]> paramInfoMap,
NavuNode node) |
Modifier and Type | Method and Description |
---|---|
static Iterator<NavuNode> |
NavuTreeTraversal.iterator(NavuContext ctx)
Retrieve an iterator to traverse the entire NAVU tree.
|
static Iterator<NavuNode> |
NavuTreeTraversal.iterator(NavuNode startNode)
Retrieve an iterator to traverse part of a NAVU tree.
|
Modifier and Type | Method and Description |
---|---|
void |
TraversalFilter.currentNode(NavuNode node) |
static Iterator<NavuNode> |
NavuTreeTraversal.iterator(NavuNode startNode)
Retrieve an iterator to traverse part of a NAVU tree.
|
void |
NavuTreeTraversal.printChain(NavuNode node) |
Set<String> |
NavuTraversalMean.traverse(NavuNode root,
List<TraversalFilter> filter) |
Set<String> |
NavuTraversalBfsMean.traverse(NavuNode root,
List<TraversalFilter> filters) |
Set<String> |
NavuTraversalDfsMean.traverse(NavuNode root,
List<TraversalFilter> filters) |