public abstract class AbstractPropertyProvider extends BaseProvider implements PropertyProvider
LOG| Constructor and Description |
|---|
AbstractPropertyProvider(Map<String,Map<String,PropertyInfo>> componentMetrics)
Construct a provider.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,Map<String,PropertyInfo>> |
getComponentMetrics()
Get the map of metrics for this provider.
|
protected Map<String,PropertyInfo> |
getPropertyInfoMap(String componentName,
String propertyId)
Get a map of metric / property info based on the given component name and property id.
|
protected void |
getPropertyInfoMap(String componentName,
String propertyId,
Map<String,PropertyInfo> propertyInfoMap) |
protected static String |
substituteArgument(String propertyId,
String argName,
String val)
Substitute the given value into the argument in the given property id.
|
protected void |
updateComponentMetricMap(Map<String,PropertyInfo> componentMetricMap,
String propertyId)
Adds to the componentMetricMap a specific(not regexp)
metric for the propertyId
|
checkConfigPropertyIds, checkPropertyIds, containsArguments, getPropertyIds, getRegexGroups, getRegExpKey, getRequestPropertyIds, isPatternKey, setResourcePropertyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcheckPropertyIds, populateResourcespublic AbstractPropertyProvider(Map<String,Map<String,PropertyInfo>> componentMetrics)
componentMetrics - map of metrics for this providerpublic Map<String,Map<String,PropertyInfo>> getComponentMetrics()
protected Map<String,PropertyInfo> getPropertyInfoMap(String componentName, String propertyId)
componentName - the component namepropertyId - the property id; may be a categoryprotected void getPropertyInfoMap(String componentName, String propertyId, Map<String,PropertyInfo> propertyInfoMap)
protected static String substituteArgument(String propertyId, String argName, String val)
propertyId - the property idargName - the argument nameval - the value to substituteprotected void updateComponentMetricMap(Map<String,PropertyInfo> componentMetricMap, String propertyId)
componentMetricMap - propertyId - Copyright © 2016. All rights reserved.