public interface ValueExpression<T>
${system.property:DEFAULT_VALUE} pattern.| Modifier and Type | Interface and Description |
|---|---|
static interface |
ValueExpression.Resolver<T>
Resolves the value expression from an expression.
|
| Modifier and Type | Field and Description |
|---|---|
static ValueExpression.Resolver<Boolean> |
BOOLEAN_RESOLVER |
static ValueExpression<Boolean> |
NULL_BOOLEAN_EXPRESSION |
static ValueExpression<String> |
NULL_STRING_EXPRESSION |
static ValueExpression.Resolver<String> |
STRING_RESOLVER |
| Modifier and Type | Method and Description |
|---|---|
T |
getResolvedValue()
The resolved value.
|
String |
getValue()
Gets the value of the value which may or may not be an
expression. |
boolean |
isExpression()
Checks whether this is an expression or not.
|
String |
toString() |
static final ValueExpression<String> NULL_STRING_EXPRESSION
static final ValueExpression<Boolean> NULL_BOOLEAN_EXPRESSION
static final ValueExpression.Resolver<String> STRING_RESOLVER
static final ValueExpression.Resolver<Boolean> BOOLEAN_RESOLVER
T getResolvedValue()
expression the resolved value will be the value from a system property or
the default value from the expression if the system property is not set.
If this is not an expression the value returned will be the non-expression value
or null if allowed for the property.boolean isExpression()
true if this is an expression, otherwise falseString getValue()
expression.Copyright © 2018 JBoss by Red Hat. All rights reserved.