public static class SimpleExpressionResolver.ResolutionResult extends Object
resolving some expression content
.Constructor and Description |
---|
ResolutionResult(String value,
boolean isDefault)
Creates a new ResolutionResult.
|
Modifier and Type | Method and Description |
---|---|
String |
getValue()
Gets the resolved value;
|
boolean |
isDefault()
Gets whether the resolved value represents some sort of default value that was embedded in
the expression content; e.g.
|
public ResolutionResult(String value, boolean isDefault)
value
- the resolved value. Cannot be null
.isDefault
- true
if value
was a default value encoded in the expression content;
false
otherwisepublic String getValue()
null
public boolean isDefault()
defaultValue
in a traditional JBoss AS style expression with syntax
propertyName[,propertyName]*[:defaultValue]
.true
if the value is a default value.Copyright © 2019 JBoss by Red Hat. All rights reserved.