Package | Description |
---|---|
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 (or a subset thereof)
using the NAVU API.
|
com.tailf.ncs |
NCS Java machine management and control of Services, Neds,
callbacks and Applications
|
com.tailf.ncs.alarmman.consumer |
The Alarm Manager consumer package provides support for subscription to
alarms in the NCS Alarm list.
|
com.tailf.ncs.alarmman.producer |
The Alarm Manager producer package provides support for injection of
alarms into the NCS Alarm list.
|
Modifier and Type | Class and Description |
---|---|
class |
IllegalParentNavuNodeException |
class |
NoSuchNavuCaseException |
class |
NoSuchNavuChoiceException |
class |
NoSuchNavuNodeException |
Modifier and Type | Method and Description |
---|---|
NavuAction |
NavuContainer.action(Integer key)
Returns a reference to a subordinate
action with
the hash value key . |
NavuAction |
NavuContainer.action(String key)
Returns a reference to a subordinate
action with
the name key . |
void |
NavuContext.applyClearTrans()
This method applies any changes in this transaction (Commit) using
Maapi.applyTrans(int, boolean) . |
void |
NavuContext.applyReplaceTrans()
This method applies (commit) and finish the transaction using
Maapi.applyTrans(int, boolean)
and Maapi.finishTrans(int) . |
void |
NavuContext.attachRunningTrans(int th)
Attach an existing transaction towards the
Conf.DB_RUNNING
database to be used in the context. |
ConfXMLParam[] |
NavuAction.call()
Issues an action with empty parameters
|
ConfXMLParam[] |
NavuAction.call(ConfXMLParam[] params)
Issues an action call with given parameters
|
ConfXMLParam[] |
NavuAction.call(String xml)
Issues an action call with given parameter
|
Collection<NavuNode> |
IllegalParentNavuNodeException.children() |
Collection<NavuNode> |
NavuAction.children()
Return the children of this node.
|
Collection<NavuNode> |
NavuContainer.children()
Returns a collection containing the children of this container.
|
Collection<NavuNode> |
NavuList.children()
Returns all elements contained by the list node.
|
Collection<NavuNode> |
NavuNode.children()
Returns a collection containing the children of this node.
|
Collection<NavuNode> |
NoSuchNavuNodeException.children() |
NavuChoice |
NavuContainer.choice(String name)
Returns a reference to a subordinate
choice with
the name name . |
int |
NavuContext.clearTrans()
Clears the internal transaction defined by
NavuContext.startRunningTrans(int) or NavuContext.startOperationalTrans(int)
The previous transaction id if any is returned but left unattended. |
NavuContainer |
NavuContainer.container(ConfNamespace ns,
String containerName)
Returns a reference to a subordinate
container with
the name containerName , belonging to the namespace
ns . |
NavuContainer |
NavuNode.container(ConfNamespace ns,
String containerName)
Returns a reference to a subordinate
container with
the name containerName , belonging to the namespace
ns . |
NavuContainer |
NavuAction.container(Integer key) |
NavuContainer |
NavuContainer.container(Integer key)
Returns a reference to a subordinate
container with
the hash value key . |
NavuContainer |
NavuNode.container(Integer key)
Returns a reference to a subordinate
container with
the hash value key . |
NavuContainer |
NavuAction.container(String key) |
NavuContainer |
NavuContainer.container(String key)
Returns a reference to a subordinate
container with
the name key . |
NavuContainer |
NavuNode.container(String key)
Returns a reference to a subordinate
container with
the name key . |
NavuContainer |
NavuAction.container(String prefix,
String key) |
NavuContainer |
NavuContainer.container(String prefix,
String key)
Deprecated.
|
NavuContainer |
NavuNode.container(String prefix,
String key)
Deprecated.
|
boolean |
NavuList.containsNode(ConfKey key)
Returns true if and only if this
NavuList
contains a NavuListEntry where
NavuListEntry.getKey() equals the specified
key. |
boolean |
NavuLeafList.containsNode(ConfValue elem)
Returns true if and only if this
NavuLeafList
contains this element. |
boolean |
NavuContainer.containsNode(NavuNode node)
Checks if the given node is a direct child of this container according
to the schema.
|
boolean |
NavuContainer.containsNode(String nodeName)
Checks if there is a child node in the schema with given name.
|
boolean |
NavuLeafList.containsNode(String elemStr)
Returns true if and only if this
NavuLeafList
contains this element. |
boolean |
NavuList.containsNode(String keyStr)
Returns true if this NavuList contains a mapping
for the specified string representation of a key.
|
boolean |
NavuList.containsNode(String[] keyArr)
Returns true if this NavuList contains a mapping
for the specified string representation of a key.
|
NavuContainer |
NavuContainer.create()
Creates an optional container.
|
void |
NavuLeaf.create()
Create an empty leaf node.
|
NavuContainer |
NavuList.create(ConfKey key)
Create and return a new list element in this
NavuList . |
NavuContainer |
NavuList.create(ConfObject key)
Convenience variant of
NavuList.create(ConfKey) accepting a
ConfObject as the (single element) key. |
void |
NavuLeafList.create(ConfValue elem)
Creates leaf-list entry.
|
void |
NavuLeafList.create(String elemStr)
Creates leaf-list entry.
|
NavuContainer |
NavuList.create(String keyStr)
Convenience variant of
NavuList.create(ConfKey) accepting a
string as the (single element) key. |
NavuContainer |
NavuList.create(String[] keyArr)
Convenience variant of
NavuList.create(ConfKey) accepting a
string array as the key. |
NavuContainer |
NavuContainer.delete()
Deletes an optional container.
|
NavuLeaf |
NavuLeaf.delete()
Deletes a leaf.
|
NavuContainer |
NavuListEntry.delete()
Deletes this entry from the NavuList it contains
returns this NavuListEntry as NavuContainer.
|
void |
NavuList.delete(ConfKey key)
Deletes an element from the list.
|
void |
NavuLeafList.delete(ConfValue elem)
Deletes an entry from the leaf-list.
|
void |
NavuLeafList.delete(String elemStr)
Deletes an entry from the leaf-list.
|
void |
NavuList.delete(String keyStr)
Deletes an element from the list.
|
void |
NavuList.delete(String[] keyArr)
Deletes an element from the list.
|
void |
NavuList.deleteAll()
Deletes all element from the list.
|
List<NavuNode> |
NavuLeaf.deref()
Derefs a leafref and returns the referenced objects
|
void |
NavuContext.detachRunningTrans()
For an context with an attached transaction using
NavuContext.attachRunningTrans(int) this method will detach
the transaction from the NavuContext maapi instance |
NavuListEntry |
NavuList.elem(ConfKey key)
Returns a list element according to the given key.
|
NavuContainer |
NavuList.elem(String keyStr)
Returns a list element according to the given key.
|
NavuContainer |
NavuList.elem(String[] keyArr)
Returns a list element according to the given array of keys.
|
Collection<ConfValue> |
NavuLeafList.elements()
Returns a copy of elements contained by the leaf-list node.
|
Collection<NavuContainer> |
NavuList.elements()
Returns a shallow copy of all elements contained by the list node.
|
List<ConfXMLParam> |
NavuAction.encodeValues() |
List<ConfXMLParam> |
NavuContainer.encodeValues() |
List<ConfXMLParam> |
NavuLeaf.encodeValues() |
List<ConfXMLParam> |
NavuList.encodeValues() |
abstract List<ConfXMLParam> |
NavuNode.encodeValues()
Encodes the sub-tree including the current
NavuNode
as the topmost NavuNode as a ConfXMLParam array. |
List<ConfXMLParam> |
NavuAction.encodeXML() |
List<ConfXMLParam> |
NavuContainer.encodeXML() |
List<ConfXMLParam> |
NavuLeaf.encodeXML() |
List<ConfXMLParam> |
NavuList.encodeXML() |
abstract List<ConfXMLParam> |
NavuNode.encodeXML()
Encodes the sub-tree including the current
NavuNode
as the topmost NavuNode as a ConfXMLParam array. |
Set<Map.Entry<String,NavuNode>> |
NavuContainer.entrySet()
Returns a set of value-pairs.
|
Set<Map.Entry<ConfKey,NavuListEntry>> |
NavuList.entrySet()
Returns a set of entries with element key and element.
|
boolean |
NavuAction.exists() |
boolean |
NavuContainer.exists()
Verifies the existence of container.
|
boolean |
NavuLeaf.exists()
Tests for the existence of the leaf node.
|
boolean |
NavuList.exists()
Tests for the existence of the List node in the instance tree.
|
abstract boolean |
NavuNode.exists()
Generic exists test for Navu navigational elements
|
Map<ConfKey,NavuChange> |
NavuContainer.findChanges(Integer[] criteria)
Deprecated.
|
Map<ConfKey,NavuChange> |
NavuContainer.findChanges(NavuContext delContext,
Integer[] criteria)
Analyzes what changes has been done within this
transaction.
|
void |
NavuContext.finishClearTrans()
Finishes current trans using
Maapi.finishTrans(int) and
clears the trans from this NavuContext. |
NavuNode |
NavuContainer.get(String nodeName)
Returns a subordinate node with the name
nodeName . |
List<NavuNode> |
NavuAction.getChanges() |
List<NavuNode> |
NavuNode.getChanges()
Deprecated.
|
List<NavuNode> |
NavuAction.getChanges(boolean emitSubtree) |
List<NavuNode> |
NavuNode.getChanges(boolean emitSubTree)
Deprecated.
|
List<NavuNode> |
NavuAction.getChanges(boolean emitSubtree,
DiffIterateOperFlag... forOps) |
List<NavuNode> |
NavuNode.getChanges(boolean emitSubTree,
DiffIterateOperFlag... forOps)
Deprecated.
|
List<NavuNode> |
NavuAction.getChanges(NavuContext delcontext) |
List<NavuNode> |
NavuNode.getChanges(NavuContext delContext)
Return the descendant
NavuNode 's
(including this element) that has been affected by
changes to the MAAPI transaction. |
List<NavuNode> |
NavuAction.getChanges(NavuContext delcontext,
boolean emitSubtree) |
List<NavuNode> |
NavuNode.getChanges(NavuContext delContext,
boolean emitSubTree)
Return the descendant
NavuNode including this
NavuNode that has been affected by the
current MAAPI transaction. |
List<NavuNode> |
NavuAction.getChanges(NavuContext delContext,
boolean emitSubtree,
DiffIterateOperFlag... forOps) |
List<NavuNode> |
NavuNode.getChanges(NavuContext delContext,
boolean emitSubTree,
DiffIterateOperFlag... forOps)
Return the descendant
NavuNode including this
NavuNode that has been affected by the
current MAAPI transaction. |
NavuNode |
NavuAction.getNavuNode(ConfPath path) |
NavuNode |
NavuNode.getNavuNode(ConfPath path)
Retrieve a NavuNode based on the given absolute or relative
path.
|
List<NavuChoice> |
NavuContainer.getSelectCaseAsNavuChoice(String choice)
Returns a collection of the "toplevel" choice elements of
the a current selected case.
|
List<NavuNode> |
NavuContainer.getSelectCaseAsNavuNode(String choice)
Returns a collection of the top-level node elements of
the currently selected case of the specified
choice . |
MaapiSchemas.CSCase |
NavuContainer.getSelectedCase(String choice)
Returns the selected cases of a given choice.
|
int |
NavuContainer.getUserSession()
Get the current Maapi user session if this container context uses
Maapi.
|
ConfXMLParam[] |
NavuAction.getValues(ConfXMLParam[] param)
Invokes or call an action defined in the data model (see
tailf_yang_extensions(5) ). |
ConfXMLParam[] |
NavuNode.getValues(ConfXMLParam[] params)
Read an arbitrary set of sub-elements from this
NavuNode . |
ConfXMLParam[] |
NavuAction.getValues(String xml)
Invokes or call an action defined in the data model (see
tailf_yang_extensions(5) ). |
ConfXMLParam[] |
NavuLeaf.getValues(String xml) |
ConfXMLParam[] |
NavuNode.getValues(String xml)
Read an arbitrary set of sub-elements of a container or list entry.
|
ConfXMLParam[] |
NavuNode.getXml(String xml)
Deprecated.
|
boolean |
NavuLeaf.idrefDerivedOrSelf(ConfIdentityRef base) |
NavuContainer |
NavuList.insert(ConfKey key,
boolean createBackpointer)
Inserts an element into a list using Maapi.insert().
|
boolean |
NavuContainer.isEmpty()
Checks if the container has any members.
|
boolean |
NavuLeafList.isEmpty()
Checks if there are any elements in the leaf-list.
|
boolean |
NavuList.isEmpty()
Checks if there are any elements in the list.
|
Set<String> |
NavuContainer.keySet()
Returns a set of nodeNames.
|
Set<ConfKey> |
NavuList.keySet()
Returns a Set containing all of the keys for this list.
|
NavuLeaf |
NavuContainer.leaf(ConfNamespace ns,
String leafName)
Returns a reference to a subordinate
leaf with
the name leafName , belonging to the namespace
ns . |
NavuLeaf |
NavuNode.leaf(ConfNamespace ns,
String leafName)
Returns a reference to a subordinate
leaf with
the name leafName , belonging to the namespace
ns . |
NavuLeaf |
NavuAction.leaf(Integer key) |
NavuLeaf |
NavuContainer.leaf(Integer key)
Returns a reference to a subordinate
leaf with
the hash value key . |
NavuLeaf |
NavuNode.leaf(Integer key)
Returns a reference to a subordinate
leaf with
the hash value key . |
NavuLeaf |
NavuAction.leaf(String leaf) |
NavuLeaf |
NavuContainer.leaf(String key)
Returns a reference to a subordinate
leaf with
the name key . |
NavuLeaf |
NavuNode.leaf(String key)
Returns a reference to a subordinate
leaf with
the name key . |
NavuLeaf |
NavuAction.leaf(String prefix,
String leaf) |
NavuLeaf |
NavuContainer.leaf(String prefix,
String key)
Deprecated.
|
NavuLeaf |
NavuNode.leaf(String prefix,
String key)
Deprecated.
|
NavuLeafList |
NavuContainer.leafList(ConfNamespace ns,
String leafListName)
Returns a reference to a subordinate
leaf-list with
the name leafListName , belonging to the namespace
ns . |
NavuLeafList |
NavuNode.leafList(ConfNamespace ns,
String leafListName)
Returns a reference to a subordinate
leaf-list with
the name leafListName , belonging to the namespace
ns . |
NavuLeafList |
NavuAction.leafList(Integer key) |
NavuLeafList |
NavuContainer.leafList(Integer key)
Returns a reference to a subordinate
leaf-list with
the hash value key . |
NavuLeafList |
NavuNode.leafList(Integer key)
Returns a reference to a subordinate
leaf-list with
the hash value key . |
NavuLeafList |
NavuAction.leafList(String leafList) |
NavuLeafList |
NavuContainer.leafList(String key)
Returns a reference to a subordinate
leaf-list with
the name key . |
NavuLeafList |
NavuNode.leafList(String key)
Returns a reference to a subordinate
leaf-list with
the name key . |
NavuLeafList |
NavuAction.leafList(String prefix,
String leafList) |
NavuLeafList |
NavuContainer.leafList(String prefix,
String key)
Deprecated.
|
NavuLeafList |
NavuNode.leafList(String prefix,
String key)
Deprecated.
|
NavuList |
NavuContainer.list(ConfNamespace ns,
String listName)
Returns a reference to a subordinate
list with
the name listName , belonging to the namespace
ns . |
NavuList |
NavuNode.list(ConfNamespace ns,
String listName)
Returns a reference to a subordinate
list with
the name listName , belonging to the namespace
ns . |
NavuList |
NavuAction.list(Integer key) |
NavuList |
NavuContainer.list(Integer key)
Returns a reference to a subordinate
list with the
hash value key . |
NavuList |
NavuNode.list(Integer key)
Returns a reference to a subordinate
list with the
hash value key . |
NavuList |
NavuAction.list(String key) |
NavuList |
NavuContainer.list(String key)
Returns a reference to a subordinate
list with
the name key . |
NavuList |
NavuNode.list(String key)
Returns a reference to a subordinate
list with
the name key . |
NavuList |
NavuAction.list(String prefix,
String key) |
NavuList |
NavuContainer.list(String prefix,
String key)
Deprecated.
|
NavuList |
NavuNode.list(String prefix,
String key)
Deprecated.
|
void |
NavuList.move(ConfKey key,
NavuList.WhereTo whereTo,
ConfKey to)
Move a list element to a new position in the list.
|
void |
NavuLeafList.move(ConfValue elem,
NavuLeafList.WhereTo whereTo,
ConfValue to)
Move a leaf-list element to a new position.
|
void |
NavuLeafList.move(String elemStr,
NavuLeafList.WhereTo whereTo,
String toStr)
Move a leaf-list element to a new position.
|
void |
NavuList.move(String keyStr,
NavuList.WhereTo whereTo,
String toStr)
Move a list element to a new position in the list.
|
ConfXMLParam[] |
NavuParser.parse()
Parses the xml and produces ConfXMLParam[]
|
PreparedXMLStatement |
NavuNode.prepareXMLCall(String xml)
Creates a parameterized configuration xml in the style of a
NavuNode.setValues(String) argument. |
NavuContainer |
NavuContainer.safeCreate()
Creates an optional container.
|
void |
NavuLeaf.safeCreate()
Create an empty leaf node, silently succeeding
if the leaf already exists
|
NavuContainer |
NavuList.safeCreate(ConfKey key)
Variant of
NavuList.create(ConfKey) that succeeds even if the
key already exists. |
NavuContainer |
NavuList.safeCreate(ConfObject key)
Variant of
NavuList.create(ConfObject) that succeeds even if
the key already exists. |
void |
NavuLeafList.safeCreate(ConfValue elem)
The variant of
create that succeeds even if the
object already exists. |
void |
NavuLeafList.safeCreate(String elemStr)
The variant of
create that succeeds even if the
object already exists. |
NavuContainer |
NavuList.safeCreate(String keyStr)
Variant of
NavuList.create(String) that succeeds even if the
key already exists. |
NavuContainer |
NavuList.safeCreate(String[] keyArr)
Variant of
NavuList.create(String[]) that succeeds even if the
key already exists. |
Collection<NavuNode> |
NavuAction.select(ConfObject[] query) |
Collection<NavuNode> |
NavuContainer.select(ConfObject[] kp) |
Collection<NavuNode> |
NavuList.select(ConfObject[] kp) |
abstract Collection<NavuNode> |
NavuNode.select(ConfObject[] query) |
Collection<NavuNode> |
NavuAction.select(List<String> query)
Not supported returns only an empty Collection
|
Collection<NavuNode> |
NavuContainer.select(List<String> path) |
Collection<NavuNode> |
NavuLeaf.select(List<String> path) |
Collection<NavuNode> |
NavuList.select(List<String> path) |
abstract Collection<NavuNode> |
NavuNode.select(List<String> query) |
Collection<NavuNode> |
NavuAction.select(String query)
Not supported returns only an empty Collection
|
Collection<NavuNode> |
NavuContainer.select(String path) |
Collection<NavuNode> |
NavuLeaf.select(String path) |
Collection<NavuNode> |
NavuList.select(String path) |
abstract Collection<NavuNode> |
NavuNode.select(String query) |
void |
PreparedXMLStatement.set()
Deprecated.
|
void |
NavuLeaf.set(ConfValue val)
Sets the value of the leaf node.
|
void |
PreparedXMLStatement.set(NavuContext context)
Deprecated.
|
void |
PreparedXMLStatement.set(NavuNode node)
Deprecated.
|
void |
NavuContainer.set(String xml)
Deprecated.
|
void |
NavuLeaf.set(String val)
Sets the value and tries to perform an update.
|
void |
NavuList.set(String xml)
Deprecated.
|
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) |
NavuNode |
NavuLeaf.setChange(List<ConfObject> kp,
DiffIterateOperFlag op,
ConfValue oldValue,
NavuContext delContext) |
NavuNode |
NavuList.setChange(List<ConfObject> path,
DiffIterateOperFlag op,
ConfValue oldValue,
NavuContext delContext) |
NavuContainer |
NavuContainer.setOperationalDataCase(String choiceStr,
String caseStr)
Deprecated.
Use the method
NavuContainer.setOperDataCase(String , String) |
void |
NavuContainer.setOperDataCase(String choiceStr,
String caseStr)
Set a case with the name
caseStr for a choice
choiceStr for Cdb when writing operational data. |
void |
PreparedXMLStatement.setValues()
When all of the parameterized values have been filled in,
this method is intended to be invoked for a
final set operation with the given values.
|
void |
NavuNode.setValues(ConfXMLParam[] params)
Set arbitrary sub-elements of a container or list entry.
|
void |
PreparedXMLStatement.setValues(NavuContext context)
When all of the parameterized values have been filled in,
this method is intended to be invoked for a
final set operation with the given values.
|
void |
PreparedXMLStatement.setValues(NavuNode node)
Similar to
PreparedXMLStatement.setValues(NavuContext) but uses the context of
the supplied node. |
void |
NavuLeaf.setValues(String xml)
This method is almost identical to
NavuLeaf.set(String) with the
exception that the value should be wrapped inside XML tag. |
void |
NavuNode.setValues(String xml)
Set arbitrary sub-elements of a container or list entry.
|
NavuContainer |
NavuContainer.sharedCreate()
Creates an optional container.
|
void |
NavuLeaf.sharedCreate()
Create an empty leaf node, silently succeeding
if the leaf already exists and also maintain the
FASTMAP reference counter on the leaf.
|
NavuContainer |
NavuList.sharedCreate(ConfKey key)
Variant of
NavuList.create(ConfKey) that succeeds even if the
key already exists, and also maintains a reference counter
on the object. |
NavuContainer |
NavuList.sharedCreate(ConfObject key)
Variant of
NavuList.create(ConfObject) that succeeds even if the
key already exists, and also maintains a reference counter
on the object. |
void |
NavuLeafList.sharedCreate(ConfValue elem)
The variant of
create that succeeds even if the
object already exists, and also maintains a reference counter
on the object. |
void |
NavuLeafList.sharedCreate(String elemStr)
The variant of
create that succeeds even if the
object already exists, and also maintains a reference counter
on the object. |
NavuContainer |
NavuList.sharedCreate(String keyStr)
Variant of
NavuList.create(String) that succeeds even if the
key already exists, and also maintains a reference counter
on the object. |
NavuContainer |
NavuList.sharedCreate(String[] keyArr)
Variant of
NavuList.create(String[]) that succeeds even if the
key already exists, and also maintains a reference counter
on the object. |
void |
NavuLeaf.sharedSet(ConfValue val)
Sets the value of a leaf node with FastMap support, creating
backpointers and reference counter similar to sharedCreate()
All FastMap code shall (in principle) allways use this method instead
of set()
|
void |
NavuLeaf.sharedSet(String val)
SharedSet using string representation of value.
|
void |
PreparedXMLStatement.sharedSetValues()
Variant of
PreparedXMLStatement.setValues() with FastMap support. |
void |
NavuNode.sharedSetValues(ConfXMLParam[] params)
Set arbitrary sub-elements of a container or list entry
with FastMap support, creating backpointers and reference counter.
|
void |
PreparedXMLStatement.sharedSetValues(NavuContext context)
Variant of
PreparedXMLStatement.setValues(NavuContext) with FastMap support. |
void |
PreparedXMLStatement.sharedSetValues(NavuNode node)
Variant of
PreparedXMLStatement.setValues(NavuNode) with FastMap support. |
void |
NavuNode.sharedSetValues(String xml)
Set arbitrary sub-elements of a container or list entry
with FastMap support, creating backpointers and reference counter.
|
int |
NavuContainer.size()
Returns the number of nodes contained by the container.
|
int |
NavuLeafList.size()
Returns the number of leaf-list elements contained by the leaf-list.
|
int |
NavuList.size()
Returns the number of list elements contained by the list node.
|
int |
NavuContext.startOperationalTrans(int mode)
This method starts a transaction towards the
Conf.DB_OPERATIONAL
database to be used in the context. |
int |
NavuContext.startOperationalTrans(int mode,
String vendor,
String product,
String version,
String clientId) |
int |
NavuContext.startPreCommitRunningTrans()
This method starts a transaction towards the PRE_COMMIT_RUNNING
datastore.
|
int |
NavuContext.startPreCommitRunningTrans(String vendor,
String product,
String version,
String clientId) |
int |
NavuContext.startRunningTrans(int mode)
This method starts a transaction towards the
Conf.DB_RUNNING
database to be used in the context. |
int |
NavuContext.startRunningTrans(int mode,
String vendor,
String product,
String version,
String clientId) |
ConfKey |
NavuLeaf.toKey()
Convert the leaf value to a ConfKey.
|
ConfValue |
NavuLeaf.value()
Returns the effective value on the first call,
or cached value in the subsequent calls
of this leaf.
|
String |
NavuLeaf.valueAsString()
Returns the Schema aware string representation of a leaf.
|
void |
NavuContainer.valueUpdateInd(NavuNode child)
An indication received from a child node.
|
void |
NavuList.valueUpdateInd(NavuNode child) |
List<NavuNode> |
NavuAction.xPathSelect(String xPath) |
List<NavuNode> |
NavuNode.xPathSelect(String query)
Evaluates the XPath path expression
query and returns
the resulting node set as list of NavuNode 's. |
void |
NavuNode.xPathSelectIterate(String query,
NavuNodeSetIterate iterate)
Iterate through a NodeSet based on a supplied XPath query.
|
Constructor and Description |
---|
NavuParser(String xml,
MaapiSchemas.CSNode node,
ConfPath path,
int mode)
Constructor for the XML parser
The xml snippet must have root tag that corresponds to the root CSNode
The parser works in one of three modes:
NavuParser.MODE_GET |
Modifier and Type | Method and Description |
---|---|
static NavuTreeTraversal |
NavuTreeTraversal.createInstance(NavuContext ctx,
NavuTraversalMean travmeth)
Factory method to retrieve an instance of this class.
|
void |
TraversalFilter.currentNode(NavuNode node) |
Set<String> |
NavuTreeTraversal.traverse()
Start the traversal process.
|
Set<String> |
NavuTraversalBfsMean.traverse(NavuNode root,
List<TraversalFilter> filters) |
Set<String> |
NavuTraversalDfsMean.traverse(NavuNode root,
List<TraversalFilter> filters) |
Set<String> |
NavuTraversalMean.traverse(NavuNode root,
List<TraversalFilter> filter) |
Modifier and Type | Method and Description |
---|---|
PlanComponent |
PlanComponent.appendState(String stateName)
This method supplies a state to the specific component.
|
PlanComponent |
PlanComponent.appendState(String stateName,
String createMonitor,
String createTriggerExpr) |
PlanComponent |
PlanComponent.appendState(String stateName,
String createMonitor,
String createTriggerExpr,
String deleteMonitor,
String deleteTriggerExpr) |
PlanComponent |
PlanComponent.backTrack() |
PlanComponent |
PlanComponent.backTrack(boolean isBacktracking) |
PlanComponent |
PlanComponent.setFailed(String stateName)
Setting status to ncs:failed for a specific state in the plan component
|
PlanComponent |
PlanComponent.setNotReached(String stateName)
Setting status to ncs:not-reached for a specific state in the
plan component
|
PlanComponent |
PlanComponent.setReached(String stateName)
Setting status to ncs:reached for a specific state in the plan component
|
Constructor and Description |
---|
PlanComponent(NavuNode service,
String name,
String componentType)
Creation of a plan component.
|
PlanComponent(NavuNode service,
String name,
String componentType,
ConfObjectRef serviceReference) |
Modifier and Type | Method and Description |
---|---|
static AlarmSourceCentral |
AlarmSourceCentral.getAlarmSource(int alarmQueueLen,
Cdb cdb)
Retrieves the alarm source central object.
|
Modifier and Type | Method and Description |
---|---|
void |
AlarmSink.submitAlarm(Alarm alarm)
Submits the specified
Alarm into the alarm list. |
boolean |
AlarmSink.submitAlarm(ManagedDevice managedDevice,
ManagedObject managedObject,
ConfIdentityRef alarmtype,
ConfBuf specificProblem,
PerceivedSeverity severity,
ConfBuf alarmText,
List<ManagedObject> impactedObjects,
List<AlarmId> relatedAlarms,
List<ManagedObject> rootCauseObjects,
ConfDatetime timeStamp,
Attribute... customAttributes)
Submits the specified
Alarm into the alarm list. |
boolean |
AlarmSink.submitAlarm(ManagedDevice managedDevice,
ManagedObject managedObject,
ConfIdentityRef alarmtype,
ConfBuf specificProblem,
PerceivedSeverity severity,
String alarmText,
List<ManagedObject> impactedObjects,
List<AlarmId> relatedAlarms,
List<ManagedObject> rootCauseObjects,
ConfDatetime timeStamp,
Attribute... customAttributes)
Submits the specified
Alarm into the alarm list. |
Constructor and Description |
---|
AlarmSink(Maapi maapi)
Construct an
AlarmSink using the given Maapi
object for writing alarms directly to the alarm list. |