org.rhq.plugins.apache.mapping
Class SpecificParams
java.lang.Object
org.rhq.plugins.apache.mapping.SpecificParams
public class SpecificParams
- extends Object
Class is used for avoid using of specific parameters which can not be used in augeas resp. in Rhq configuration.
During the transformation from augeas tree to configuration and back we need to replace directive specific parameters
by parameters which are understandable for RHQ configuration.
- Author:
- fdrabek
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SpecificParams
public SpecificParams()
prepareForAugeas
public static String prepareForAugeas(String name,
String value)
- Before mapping back to cofiguration file we need to replace all configuration specific parameters
by directive specific parameters.
- Parameters:
name - Name of the directive.param - Parameters of directive.
- Returns:
- directive prepared for validation without configuration specific parameters.
prepareForConfiguration
public static StringBuilder prepareForConfiguration(String name,
StringBuilder value)
- Before mapping back to cofiguration file we need to replace all configuration specific parameters
by directive specific parameters.
- Parameters:
name - Name of the directive.param - Parameters of directive.
- Returns:
- directive prepared for validation without configuration specific parameters.
Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.