public interface AttributePreprocessor
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.
|
String substituteBefore(String beforeValue)
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$"/>
beforeValue
- The before value of change-pair.ChangePair#getBefore()
String substituteAfter(String afterValue)
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$"/>
afterValue
- The after value of change-pair.ChangePair#getAfter()
String substitutePath(String path)
<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.
path
- The file path.FileEntry#getName()
Copyright © 2018. All rights reserved.