public interface ValueExpression<T>
${system.property:DEFAULT_VALUE}
pattern.Modifier and Type | Interface | Description |
---|---|---|
static interface |
ValueExpression.Resolver<T> |
Resolves the value expression from an expression.
|
Modifier and Type | Field | Description |
---|---|---|
static ValueExpression.Resolver<java.lang.Boolean> |
BOOLEAN_RESOLVER |
|
static ValueExpression<java.lang.Boolean> |
NULL_BOOLEAN_EXPRESSION |
|
static ValueExpression<java.lang.String> |
NULL_STRING_EXPRESSION |
|
static ValueExpression.Resolver<java.lang.String> |
STRING_RESOLVER |
Modifier and Type | Method | Description |
---|---|---|
T |
getResolvedValue() |
The resolved value.
|
java.lang.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.
|
java.lang.String |
toString() |
static final ValueExpression<java.lang.String> NULL_STRING_EXPRESSION
static final ValueExpression<java.lang.Boolean> NULL_BOOLEAN_EXPRESSION
static final ValueExpression.Resolver<java.lang.String> STRING_RESOLVER
static final ValueExpression.Resolver<java.lang.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 false
java.lang.String getValue()
expression
.java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2018. All rights reserved.