Package | Description |
---|---|
com.tailf.cdb |
Package with methods for connecting to the configuration database.
|
com.tailf.conf |
Data types and utilities for communication with the server.
|
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.ha |
Package for setup and control of High Availability cluster nodes.
|
com.tailf.maapi |
MAAPI is an API which provides full access to the systems internal
transaction engine.
|
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.ncs.alarmman.common |
The Common Alarm Management package contains common definitions that are
used within the alarm manager.
|
com.tailf.notif |
Package for subscription to asynchronous events.
|
Modifier and Type | Method and Description |
---|---|
ConfValue |
CdbUpgradeSession.getElem(ConfCdbUpgradePath path) |
ConfValue |
CdbSession.getElem(ConfPath path)
This reads a a value from the path.
|
ConfValue |
CdbSession.getElem(String fmt,
Object... arguments)
similar to
CdbSession.getElem(ConfPath) but specifies element using path
string |
ConfValue |
CdbUpgradeSession.getElem(String fmt,
Object... arguments) |
Modifier and Type | Method and Description |
---|---|
void |
CdbUpgradeSession.setElem(ConfValue value,
ConfCdbUpgradePath path) |
void |
CdbSession.setElem(ConfValue value,
ConfPath path)
Sets an element in operational data.
|
void |
CdbSession.setElem(ConfValue value,
String fmt,
Object... arguments)
similar to
CdbSession.setElem(ConfValue, ConfPath) but specifies element
using path string |
void |
CdbUpgradeSession.setElem(ConfValue value,
String fmt,
Object... arguments) |
void |
CdbUpgradeSession.setObject(ConfValue[] values,
ConfCdbUpgradePath path) |
void |
CdbSession.setObject(ConfValue[] values,
ConfPath path)
Set all elements corresponding to the complete contents of a container
element, except for list entry sub-elements.
|
void |
CdbSession.setObject(ConfValue[] values,
String fmt,
Object... arguments)
similar to
CdbSession.setObject(ConfValue[], ConfPath) but specifies
element using path string |
void |
CdbUpgradeSession.setObject(ConfValue[] values,
String fmt,
Object... arguments) |
Modifier and Type | Class and Description |
---|---|
class |
ConfAttributeValue
Class that represents an attribute value for an element in a model.
|
class |
ConfBinary
DATA_CONTAINER - Corresponds to the YANG tailf:hex-list and tailf:octet-list.
|
class |
ConfBit32
DATA_CONTAINER - Corresponds to the YANG bit32 type.
|
class |
ConfBit64
DATA_CONTAINER - Corresponds to the YANG bit64 type.
|
class |
ConfBitBig
DATA_CONTAINER - Corresponds to the YANG bits type, where bit position
exceed 63.
|
class |
ConfBits
DATA_CONTAINER - This is the superclass for all bits types i.e.
|
class |
ConfBool
DATA_CONTAINER - Corresponds to the YANG boolean type.
|
class |
ConfBuf
DATA_CONTAINER - Corresponds to the YANG string type.
|
class |
ConfDate
DATA_CONTAINER - Corresponds to the confspec xs:date type.
|
class |
ConfDatetime
DATA_CONTAINER - Corresponds to the YANG date-and-time type.
|
class |
ConfDecimal64
DATA_CONTAINER - Corresponds to the YANG decimal64 type.
|
class |
ConfDefault
Class representing value of type J_DEFAULT.
|
class |
ConfDottedQuad
DATA_CONTAINER - Corresponds to the YANG dotted-quad type.
|
class |
ConfDouble
DATA_CONTAINER - Corresponds to the confspec xs:double type.
|
class |
ConfDuration
DATA_CONTAINER - Corresponds to the confspec xs:duration type.
|
class |
ConfEnumeration
DATA_CONTAINER - Corresponds to the YANG Enumeration type.
|
class |
ConfFloat
DATA_CONTAINER - Corresponds to the confspec xs:float type.
|
class |
ConfHexList
DATA_CONTAINER - Corresponds to the YANG
tailf:hex-list type. |
class |
ConfHexString
DATA_CONTAINER - Corresponds to the YANG
hex-string type. |
class |
ConfIdentityRef
DATA_CONTAINER - Corresponds to the YANG identityRef type.
|
class |
ConfInt16
DATA_CONTAINER - Corresponds to the YANG int16 type.
|
class |
ConfInt32
DATA_CONTAINER - Corresponds to the YANG int32 type.
|
class |
ConfInt64
DATA_CONTAINER - Corresponds to the YANG int64 type.
|
class |
ConfInt8
DATA_CONTAINER - Corresponds to the YANG int8 type.
|
class |
ConfIP
DATA_CONTAINER - Base class for ConfIPv4 and ConfIPv6 containers
|
class |
ConfIPAndPrefixLen
DATA_CONTAINER - Base class for ConfIPv4AndPrefixLen and
ConfIPv6AndPrefixLen containers
|
class |
ConfIPPrefix
DATA_CONTAINER - Base class for ConfIPv4Prefix and
ConfIPv6Prefix containers
|
class |
ConfIPv4
DATA_CONTAINER - Corresponds to the YANG inet:ipv4-address type.
|
class |
ConfIPv4AndPrefixLen
DATA_CONTAINER - Corresponds to the YANG tailf:ipv4-address-and-prefix-length
type.
|
class |
ConfIPv4Prefix
DATA_CONTAINER - Corresponds to the YANG inet:ipv4-prefix type.
|
class |
ConfIPv6
DATA_CONTAINER - Corresponds to the YANG inet:ipv6-address type.
|
class |
ConfIPv6AndPrefixLen
DATA_CONTAINER - Corresponds to the YANG tailf:ipv6-address-and-prefix-length
type.
|
class |
ConfIPv6Prefix
DATA_CONTAINER - Corresponds to the YANG inet:ipv6-prefix type.
|
class |
ConfList
DATA_CONTAINER - Corresponds to the YANG leaf-list.
|
class |
ConfNoExists
Class representing value of type J_NOEXISTS.
|
class |
ConfObjectRef
Corresponds to the YANG instance-identifier type
|
class |
ConfOctetList
DATA_CONTAINER - Corresponds to the YANG tailf:octet-list type.
|
class |
ConfOID
DATA_CONTAINER - Corresponds to the YANG tailf:oid type.
|
class |
ConfQname
DATA_CONTAINER - Corresponds to the confspec xs:qName type.
|
class |
ConfTime
DATA_CONTAINER - Corresponds to the confspec xs:time type.
|
class |
ConfUInt16
DATA_CONTAINER - Corresponds to the YANG uint16 type
|
class |
ConfUInt32
DATA_CONTAINER - Corresponds to the YANG uint32 type
|
class |
ConfUInt64
DATA_CONTAINER - Corresponds to the YANG uint64 type
|
class |
ConfUInt8
DATA_CONTAINER - Corresponds to the YANG uint8 type
|
class |
ConfXMLTagH
DATA_CONTAINER - Corresponds to the confspec XML Tag.
|
Modifier and Type | Method and Description |
---|---|
ConfValue |
ConfHaNode.getAddr()
Get the IP address for the node as ConfIPv4 or ConfIPv6
|
ConfValue |
ConfAttributeValue.getAttributeValue()
Get the value of the attribute
|
ConfValue |
ConfHaNode.getNodeId()
Get the nodeid which is the identity of the HA node
|
ConfValue |
SnmpVarbind.getValue() |
static ConfValue |
ConfValue.getValueByString(ConfPath path,
String str)
Get a ConfValue representation a string at a given
position in the schema.
|
static ConfValue |
ConfValue.getValueByString(String path,
String str)
Get a ConfValue representation a string at a given
position in the schema.
|
ConfValue |
ConfTypeDescriptor.newInstance(String str)
Creates a new ConfValue instance of the type described by this
ConfTypeDescriptor and with a value represented by a string.
|
Modifier and Type | Method and Description |
---|---|
static String |
ConfValue.getStringByValue(ConfPath path,
ConfValue val)
Get the string representation of a ConfValue at a given
position in the schema.
|
static String |
ConfValue.getStringByValue(String path,
ConfValue val)
Get the string representation of a ConfValue at a given
position in the schema.
|
void |
ConfAttributeValue.setAttributeValue(ConfValue attributeValue)
Set the value for this attribute value
|
Constructor and Description |
---|
ConfAttributeValue(ConfAttributeType typ,
ConfValue val)
Constructor of ConfAttributeValue
Consists of a value and a type.
|
ConfHaNode(ConfValue nodeid,
ConfValue addr)
Constructor for a HA node
|
SnmpVarbind(int[] ioid,
ConfValue value)
Deprecated.
|
SnmpVarbind(long[] oid,
ConfValue value)
Constructor for Snmp variable binding (of type OID)
|
SnmpVarbind(String variable,
ConfValue value)
Constructor for Snmp variable binding (of type VARIABLE)
|
SnmpVarbind(String column,
int[] rowindex,
ConfValue value)
Constructor for Snmp variable binding (of type COLUMN_ROW)
|
Constructor and Description |
---|
ConfXKey(ConfObject[] vals,
Map<MaapiSchemas.CSNode,ConfValue> keyEntries) |
Modifier and Type | Method and Description |
---|---|
ConfValue |
DpDataCallback.getElem(DpTrans trans,
ConfObject[] kp)
This callback method needs to return a specific leaf value.
|
ConfValue |
DpAccumulate.getValue()
The value to be set if op is
SET_ELEM |
Modifier and Type | Method and Description |
---|---|
void |
Dp.registerAnnotatedRangeActionCallbacks(Object obj,
ConfValue[] lower,
ConfValue[] higher,
ConfPath path) |
void |
Dp.registerAnnotatedRangeActionCallbacks(Object obj,
ConfValue[] lower,
ConfValue[] higher,
ConfPath path) |
void |
Dp.registerAnnotatedRangeDataCallbacks(Object obj,
ConfValue[] lower,
ConfValue[] higher,
ConfPath path)
DataCallbacks can be registered for a range of values using this method
|
void |
Dp.registerAnnotatedRangeDataCallbacks(Object obj,
ConfValue[] lower,
ConfValue[] higher,
ConfPath path)
DataCallbacks can be registered for a range of values using this method
|
int |
DpDataCallback.setElem(DpTrans trans,
ConfObject[] kp,
ConfValue newval)
This callback writes a data leaf.
|
void |
DpValpointCallback.validate(DpTrans trans,
ConfObject[] kp,
ConfValue newval)
The validate() callback should validate the values and throw a
DpCallbackException if the validation fails. |
Modifier and Type | Method and Description |
---|---|
ConfValue |
DataCallbackProxy.getElem(DpTrans trans,
ConfObject[] kp) |
Modifier and Type | Method and Description |
---|---|
int |
DataCallbackProxy.setElem(DpTrans trans,
ConfObject[] kp,
ConfValue newval) |
void |
ValidateCallbackProxy.validate(DpTrans trans,
ConfObject[] kp,
ConfValue newval) |
Modifier and Type | Method and Description |
---|---|
void |
Ha.beMaster(ConfValue myNodeId)
Instruct an HA node to be master and also give the node a name.
|
void |
Ha.beSlave(ConfValue myNodeId,
ConfHaNode master,
boolean waitForReply)
Instruct an HA node to be a slave to a named master.
|
void |
Ha.slaveDead(ConfValue nodeId)
This function must be used by the application to inform the HA subsystem
that another node which is possibly connected to the server is dead.
|
Modifier and Type | Method and Description |
---|---|
ConfValue |
ResultTypeKeyPathValue.confValue()
Retrieves the result value from a query
|
ConfValue |
Maapi.getElem(int tid,
ConfPath path) |
ConfValue |
Maapi.getElem(int tid,
String fmt,
Object... arguments)
This reads a value from the path in fmt and returns the result.
|
ConfValue |
Maapi.safeGetElem(int tid,
ConfPath path)
Reads a value from the
path specified |
ConfValue |
Maapi.safeGetElem(int tid,
String fmt,
Object... arguments)
This reads a value from the path in fmt and returns the result.
|
ConfValue |
MaapiSchemas.stringToValue(MaapiSchemas.CSType type,
String str)
parse value located in str and convert to ConfValue, the value is
validated.
|
ConfValue |
MaapiSchemas.CSTypeMethods.stringToValue(MaapiSchemas.CSType type,
String str)
parse value located in str and convert to ConfValue, the value is
validated.
|
ConfValue |
MaapiSchemas.UnionTypeMethodsImpl.stringToValue(MaapiSchemas.CSType type,
String str) |
ConfValue |
MaapiSchemas.EnumTypeMethodsImpl.stringToValue(MaapiSchemas.CSType type,
String str) |
ConfValue |
MaapiSchemas.BitsTypeMethodsImpl.stringToValue(MaapiSchemas.CSType type,
String str) |
ConfValue |
MaapiSchemas.Decimal64TypeMethodsImpl.stringToValue(MaapiSchemas.CSType type,
String str) |
ConfValue |
MaapiSchemas.ListTypeMethodsImpl.stringToValue(MaapiSchemas.CSType type,
String str) |
ConfValue |
MaapiSchemas.ListRestrictionTypeMethodsImpl.stringToValue(MaapiSchemas.CSType type,
String str) |
ConfValue |
MaapiSchemas.DisplayHintTypeMethodsImpl.stringToValue(MaapiSchemas.CSType type,
String str) |
ConfValue |
MaapiSchemas.IdentityTypeMethodsImpl.stringToValue(MaapiSchemas.CSType type,
String str) |
Modifier and Type | Method and Description |
---|---|
XPathNodeIterateResultFlag |
MaapiXPathEvalResult.result(ConfObject[] kp,
ConfValue value,
Object state)
For each node in the resulting node set evaluated by the xpath
this method will be called.
|
boolean |
MaapiSchemas.CSTypeMethods.validate(MaapiSchemas.CSType type,
ConfValue val)
Validates ConfValue of with rules from CSType
|
boolean |
MaapiSchemas.UnionTypeMethodsImpl.validate(MaapiSchemas.CSType type,
ConfValue val) |
boolean |
MaapiSchemas.RetrictedNumberTypeMethodsImpl.validate(MaapiSchemas.CSType type,
ConfValue val) |
boolean |
MaapiSchemas.EnumTypeMethodsImpl.validate(MaapiSchemas.CSType type,
ConfValue val) |
boolean |
MaapiSchemas.BitsTypeMethodsImpl.validate(MaapiSchemas.CSType type,
ConfValue val) |
boolean |
MaapiSchemas.Decimal64TypeMethodsImpl.validate(MaapiSchemas.CSType type,
ConfValue val) |
boolean |
MaapiSchemas.ListTypeMethodsImpl.validate(MaapiSchemas.CSType type,
ConfValue val) |
boolean |
MaapiSchemas.ListRestrictionTypeMethodsImpl.validate(MaapiSchemas.CSType type,
ConfValue val) |
boolean |
MaapiSchemas.DisplayHintTypeMethodsImpl.validate(MaapiSchemas.CSType type,
ConfValue val) |
boolean |
MaapiSchemas.StringTypeMethodsImpl.validate(MaapiSchemas.CSType type,
ConfValue val) |
boolean |
MaapiSchemas.IdentityTypeMethodsImpl.validate(MaapiSchemas.CSType type,
ConfValue val) |
String |
MaapiSchemas.valueToString(MaapiSchemas.CSType type,
ConfValue val)
convert to string representation for the corresponding ConfValue
|
String |
MaapiSchemas.CSTypeMethods.valueToString(MaapiSchemas.CSType type,
ConfValue val)
convert to string representation for the corresponding Confvalue
|
String |
MaapiSchemas.UnionTypeMethodsImpl.valueToString(MaapiSchemas.CSType type,
ConfValue val) |
String |
MaapiSchemas.EnumTypeMethodsImpl.valueToString(MaapiSchemas.CSType type,
ConfValue val) |
String |
MaapiSchemas.BitsTypeMethodsImpl.valueToString(MaapiSchemas.CSType type,
ConfValue val) |
String |
MaapiSchemas.Decimal64TypeMethodsImpl.valueToString(MaapiSchemas.CSType type,
ConfValue val) |
String |
MaapiSchemas.ListTypeMethodsImpl.valueToString(MaapiSchemas.CSType type,
ConfValue val) |
String |
MaapiSchemas.ListRestrictionTypeMethodsImpl.valueToString(MaapiSchemas.CSType type,
ConfValue val) |
String |
MaapiSchemas.DisplayHintTypeMethodsImpl.valueToString(MaapiSchemas.CSType type,
ConfValue val) |
String |
MaapiSchemas.IdentityTypeMethodsImpl.valueToString(MaapiSchemas.CSType type,
ConfValue val) |
Modifier and Type | Method and Description |
---|---|
ConfValue |
NavuLeaf.getOldValue() |
ConfValue |
NavuXPathContext.getValue()
get NavuNode value if applicable
|
ConfValue |
NavuLeaf.value()
Returns the effective value on the first call,
or cached value in the subsequent calls
of this leaf.
|
Modifier and Type | Method and Description |
---|---|
Collection<ConfValue> |
NavuLeafList.elements()
Returns a copy of elements contained by the leaf-list node.
|
Iterator<ConfValue> |
NavuLeafList.iterator()
Retrieve a iterator over the elements in this
NavuLeafList
(in proper sequence). |
Modifier and Type | Method and Description |
---|---|
boolean |
NavuLeafList.containsNode(ConfValue elem)
Returns true if and only if this
NavuLeafList
contains this element. |
void |
NavuLeafList.create(ConfValue elem)
Creates leaf-list entry.
|
void |
NavuLeafList.delete(ConfValue elem)
Deletes an entry from the leaf-list.
|
void |
NavuLeafList.move(ConfValue elem,
NavuLeafList.WhereTo whereTo,
ConfValue to)
Move a leaf-list element to a new position.
|
void |
NavuLeafList.safeCreate(ConfValue elem)
The variant of
create that succeeds even if the
object already exists. |
void |
NavuLeaf.set(ConfValue val)
Sets the value of the leaf node.
|
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) |
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 |
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()
|
Modifier and Type | Method and Description |
---|---|
ConfValue |
ManagedObject.getAsConfValue()
Get the ConfValue representation of this managedObject.
|
ConfValue |
Attribute.getValue() |
Constructor and Description |
---|
AlarmAttribute(ConfNamespace ns,
String attributeId,
ConfValue value) |
ManagedDevice(ConfValue value) |
ManagedObject(ConfValue value) |
StatusChangeAttribute(ConfNamespace ns,
String attributeId,
ConfValue value) |
Modifier and Type | Method and Description |
---|---|
ConfValue |
NotificationCfg.getStartTime()
Get configured startTime
used by
NotificationType.NOTIF_STREAM_EVENT
notifications to define a replay start time. |
ConfValue |
NotificationCfg.getStopTime()
Get configured stopTime
used by
NotificationType.NOTIF_STREAM_EVENT
notifications to define a replay stop time. |
Modifier and Type | Method and Description |
---|---|
void |
NotificationCfg.setStartTime(ConfValue startTime)
Optional for
NotificationType#CONFD_NOTIF_STREAM_EVENT . |
void |
NotificationCfg.setStopTime(ConfValue stopTime)
Optional for
NotificationType#CONFD_NOTIF_STREAM_EVENT . |
Constructor and Description |
---|
NotificationCfg(int heartbeatInterval,
int healthCheckInterval,
String streamName,
ConfValue startTime,
ConfValue stopTime,
String xpathFilter,
int usid,
Maapi.Verbosity verbosity)
Convenience constructor setting all values.
|