Package | Description |
---|---|
org.osgi.service.dmt |
Device Management Tree Package Version 2.0.
|
org.osgi.service.dmt.notification |
Device Management Tree Notification Package Version 2.0.
|
org.osgi.service.dmt.spi |
Device Management Tree SPI Package Version 2.0.
|
Modifier and Type | Field and Description |
---|---|
static DmtData |
DmtData.FALSE_VALUE
Constant instance representing a boolean
false value. |
static DmtData |
DmtData.NULL_VALUE
Constant instance representing a leaf node of
null format. |
static DmtData |
DmtData.TRUE_VALUE
Constant instance representing a boolean
true value. |
Modifier and Type | Method and Description |
---|---|
DmtData |
MetaNode.getDefault()
Get the default value of this node if any.
|
DmtData |
DmtSession.getNodeValue(String nodeUri)
Get the data contained in a leaf or interior node.
|
DmtData[] |
MetaNode.getValidValues()
Return an array of DmtData objects if valid values are defined for the
node, or
null otherwise. |
Modifier and Type | Method and Description |
---|---|
void |
DmtSession.createLeafNode(String nodeUri,
DmtData value)
Create a leaf node with a given value and the default MIME type.
|
void |
DmtSession.createLeafNode(String nodeUri,
DmtData value,
String mimeType)
Create a leaf node with a given value and MIME type.
|
boolean |
MetaNode.isValidValue(DmtData value)
Checks whether the given value is valid for this node.
|
void |
DmtSession.setNodeValue(String nodeUri,
DmtData data)
Set the value of a leaf or interior node.
|
Modifier and Type | Method and Description |
---|---|
DmtData |
AlertItem.getData()
Get the data associated with the alert item.
|
Constructor and Description |
---|
AlertItem(String[] source,
String type,
String mark,
DmtData data)
Create an instance of the alert item, specifying the source node URI as
an array of path segments.
|
AlertItem(String source,
String type,
String mark,
DmtData data)
Create an instance of the alert item.
|
Modifier and Type | Method and Description |
---|---|
DmtData |
ReadableDataSession.getNodeValue(String[] nodePath)
Get the data contained in a leaf or interior node.
|
Modifier and Type | Method and Description |
---|---|
void |
ReadWriteDataSession.createLeafNode(String[] nodePath,
DmtData value,
String mimeType)
Create a leaf node with a given value and MIME type.
|
void |
ReadWriteDataSession.setNodeValue(String[] nodePath,
DmtData data)
Set the value of a leaf or interior node.
|
Copyright © Contributors to the Eclipse Foundation Licensed under the Eclipse Foundation Specification License – v1.0