public class ParamHistoryUtils
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PARAMHISTORYFACTORY_CLASSNAME_KEY
The class name for the factory for history for station parameters
|
Constructor and Description |
---|
ParamHistoryUtils() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
addKey(java.lang.String key,
java.lang.String str)
Adds the specified string to the key.
|
static AgentInfo |
getAgentInfo(java.lang.String str)
Get the agent information.
|
static java.lang.String |
getAgentLongName(java.lang.String str)
Get the agent long name.
|
static java.lang.String |
getAgentShortName(java.lang.String longName)
Get the agent short name.
|
static java.lang.String |
getKey(DynamicParamHolder paramHolder)
Gets the key for the specified dynamic parameter.
|
static ParamHistoryFactory |
getParamHistoryFactory()
Get the factory for history for station parameters.
|
static boolean |
isStatusUsageParamName(java.lang.String str)
Determines if the name is a status/usage parameter name.
|
public static final java.lang.String PARAMHISTORYFACTORY_CLASSNAME_KEY
public static java.lang.String addKey(java.lang.String key, java.lang.String str)
key
- the current value of the key.str
- the string to add.public static AgentInfo getAgentInfo(java.lang.String str)
str
- the agent directory name or agent long name.getKey(DynamicParamHolder)
,
getAgentLongName(String)
,
getAgentShortName(String)
public static java.lang.String getAgentLongName(java.lang.String str)
str
- the agent directory name or agent long name.getKey(DynamicParamHolder)
,
getAgentShortName(String)
public static java.lang.String getAgentShortName(java.lang.String longName)
longName
- the agent long name.getAgentLongName(String)
public static java.lang.String getKey(DynamicParamHolder paramHolder)
paramHolder
- the parameter holder.public static ParamHistoryFactory getParamHistoryFactory()
public static boolean isStatusUsageParamName(java.lang.String str)
str
- the name.