Package org.jboss.logmanager.config
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 org.jboss.logmanager.config.ValueExpression
ValueExpression.Resolver<T>
-
Field Summary
FieldsFields inherited from interface org.jboss.logmanager.config.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
.boolean
Checks whether this is an expression or not.toString()
-
Field Details
-
expression
-
resolvedValue
-
-
Constructor Details
-
ValueExpressionImpl
-
-
Method Details
-
getResolvedValue
Description copied from interface:ValueExpression
The resolved value. If this is anexpression
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 anexpression
the value returned will be the non-expression value ornull
if allowed for the property.- Specified by:
getResolvedValue
in interfaceValueExpression<T>
- Returns:
- the resolved value
-
isExpression
public boolean isExpression()Description copied from interface:ValueExpression
Checks whether this is an expression or not.- Specified by:
isExpression
in interfaceValueExpression<T>
- Returns:
true
if this is an expression, otherwisefalse
-
getValue
Description copied from interface:ValueExpression
Gets the value of the value which may or may not be anexpression
.- Specified by:
getValue
in interfaceValueExpression<T>
- Returns:
- the value
-
toString
- Specified by:
toString
in interfaceValueExpression<T>
- Overrides:
toString
in classObject
-