
public class DataProviderInfo extends Object implements Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
DataProviderInfo.Attribute |
static class |
DataProviderInfo.Type |
| Constructor and Description |
|---|
DataProviderInfo(String path,
DataProviderInfo.Type dataType,
String name) |
DataProviderInfo(String path,
DataProviderInfo.Type dataType,
String name,
Map<DataProviderInfo.Attribute,String> attributes) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAttribute(DataProviderInfo.Attribute attribute,
String value) |
DataProviderInfo.Attribute[] |
getAttributes()
Get all the attribute names defined for this data.
|
String |
getAttributeValue(DataProviderInfo.Attribute attr)
Get access to the different attributes attached to this data description.
|
String |
getFullPath() |
String |
getKey()
The key of a DataProvider is used to store the data in the trending database.
|
String |
getPath()
The path of a DataProvider is its location within an Agent.
|
String |
toString() |
public DataProviderInfo(String path, DataProviderInfo.Type dataType, String name, Map<DataProviderInfo.Attribute,String> attributes)
path - The path of the corresponding data provider objectdataType - The type of this dataname - The key of the data. The way the name is used in conjunction
with the path depends on the data type.attributes - A map of the Attributes for this DataProviderInfo
object.
The path for all dataTypes is the path of the object the DataProviderInfo
applies to. The name depends on the dataType:
CONFIGURATION:
The name is the name of configuration parameter.
STATE:
the name is the name of the state enumeration.
TRENDING and MONITORING
the name is the trending keypublic DataProviderInfo(String path, DataProviderInfo.Type dataType, String name)
path - The path of the corresponding data provider objectdataType - The type of this dataname - The key of the data. The way the name is used in conjunction
with the path depends on the data type.
The path for all dataTypes is the path of the object the DataProviderInfo
applies to. The name depends on the dataType:
CONFIGURATION:
The name is the name of configuration parameter.
STATE:
the name is the name of the state enumeration.
TRENDING and MONITORING
the name is the trending keypublic void addAttribute(DataProviderInfo.Attribute attribute, String value)
public String getAttributeValue(DataProviderInfo.Attribute attr)
attr - the attributepublic String getKey()
public String getPath()
public String getFullPath()
public DataProviderInfo.Attribute[] getAttributes()
Copyright © 2021 LSST. All rights reserved.