public class JmxYmlParser extends java.lang.Object implements JmxConfiguration
| Constructor and Description |
|---|
JmxYmlParser(java.util.Map<?,?> pJmxConfig)
Creates this JmxYmlUtils.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<JmxType,java.util.List<java.lang.String>> |
getAttrs()
Parses the JMX configuration and returns a map of JMX type to attributes.
|
boolean |
getEnabled()
Gets the enabled flag from the JMX configuration.
|
java.lang.String |
getObjectName()
Gets the object name from the JMX configuration.
|
java.lang.String |
getRootMetricName()
Returns the root metric name (the starting path of the metric name), or null if none was specified.
|
public JmxYmlParser(java.util.Map<?,?> pJmxConfig)
public java.lang.String getObjectName()
getObjectName in interface JmxConfigurationpublic java.lang.String getRootMetricName()
JmxConfigurationgetRootMetricName in interface JmxConfigurationpublic boolean getEnabled()
getEnabled in interface JmxConfigurationpublic java.util.Map<JmxType,java.util.List<java.lang.String>> getAttrs()
getAttrs in interface JmxConfiguration