Class ValueExpressionImpl<T>
java.lang.Object
org.jboss.logmanager.config.ValueExpressionImpl<T>
- All Implemented Interfaces:
ValueExpression<T>
-
Nested Class Summary
Nested classes/interfaces inherited from interface ValueExpression
ValueExpression.Resolver<T> -
Field Summary
FieldsFields inherited from interface ValueExpression
BOOLEAN_RESOLVER, NULL_BOOLEAN_EXPRESSION, NULL_STRING_EXPRESSION, STRING_RESOLVER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe resolved value.getValue()Gets the value of the value which may or may not be anexpression.booleanChecks whether this is an expression or not.toString()
-
Field Details
-
expression
-
resolvedValue
-
-
Constructor Details
-
ValueExpressionImpl
-
-
Method Details
-
getResolvedValue
Description copied from interface:ValueExpressionThe resolved value. If this is anexpressionthe 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 anexpressionthe value returned will be the non-expression value ornullif allowed for the property.- Specified by:
getResolvedValuein interfaceValueExpression<T>- Returns:
- the resolved value
-
isExpression
public boolean isExpression()Description copied from interface:ValueExpressionChecks whether this is an expression or not.- Specified by:
isExpressionin interfaceValueExpression<T>- Returns:
trueif this is an expression, otherwisefalse
-
getValue
Description copied from interface:ValueExpressionGets the value of the value which may or may not be anexpression.- Specified by:
getValuein interfaceValueExpression<T>- Returns:
- the value
-
toString
-