public class AttributePreprocessorImpl extends Object implements AttributePreprocessor
AttributePreprocessor| Constructor and Description |
|---|
AttributePreprocessorImpl(Map<String,String> lookUpMap) |
| Modifier and Type | Method and Description |
|---|---|
String |
substituteAfter(String afterValue)
Process the after value of the change-pair element and retrieve its value.
|
String |
substituteBefore(String beforeValue)
Process the before value of the change-pair element and retrieve its value.
|
String |
substitutePath(String path)
Process the file name/member entry path.
|
public String substituteBefore(String beforeValue)
AttributePreprocessor
Note: A change-pair element is a macro definition that specifies the
string to be substituted ("before") and the replacement ("after") value.
E.g. <change-pair id="pair1" before="@JAVA_HOME" after="$JAVA_HOME$"/>
substituteBefore in interface AttributePreprocessorbeforeValue - The before value of change-pair.ChangePair#getBefore()public String substituteAfter(String afterValue)
AttributePreprocessor
Note: A change-pair element is a macro definition that specifies the
string to be substituted ("before") and the replacement ("after") value.
E.g. <change-pair id="pair1" before="@JAVA_HOME" after="$JAVA_HOME$"/>
substituteAfter in interface AttributePreprocessorafterValue - The after value of change-pair.ChangePair#getAfter()public String substitutePath(String path)
AttributePreprocessor<file-entry name="$DOMAIN_DIRECTORY$/start.cmd"/>
Path pointing to the domain directory. The value of these variable will be retrieved.
Note: A file-entry defines a text file or set of files where
substitution has to be performed.
substitutePath in interface AttributePreprocessorpath - The file path.FileEntry#getName()Copyright © 2015. All rights reserved.