public class CLIExpressionResolver extends Object
| Constructor and Description |
|---|
CLIExpressionResolver() |
| Modifier and Type | Method and Description |
|---|---|
static String |
resolve(String input)
Attempts to substitute all the found expressions in the input
with their corresponding resolved values.
|
static String |
resolveLax(String input)
Attempts to substitute all the found expressions in the input with their corresponding resolved values.
|
static String |
resolveOrOriginal(String input)
Attempts to substitute all the found expressions in the input
with their corresponding resolved values.
|
static String |
resolveProperty(String input,
int location,
boolean exceptionIfNotResolved) |
public static String resolve(String input) throws UnresolvedExpressionException
input - the input stringUnresolvedExpressionException - in case an expression could not be resolvedpublic static String resolveOrOriginal(String input)
input - the input stringpublic static String resolveLax(String input)
input - the input stringpublic static String resolveProperty(String input, int location, boolean exceptionIfNotResolved) throws UnresolvedExpressionException
location - the index of '$' starting the system propertyexceptionIfNotResolved - whether to ignore unresolved expression or throw an exceptionUnresolvedExpressionException - in case the expression could not be resolvedCopyright © 2018 JBoss by Red Hat. All rights reserved.