Class SimpleExpressionResolver.ResolutionResult

java.lang.Object
org.jboss.metadata.property.SimpleExpressionResolver.ResolutionResult
Enclosing interface:
SimpleExpressionResolver

public static class SimpleExpressionResolver.ResolutionResult extends Object
Author:
Brian Stansberry (c) 2014 Red Hat Inc.
  • Constructor Details

    • ResolutionResult

      public ResolutionResult(String value, boolean isDefault)
      Creates a new ResolutionResult.
      Parameters:
      value - the resolved value. Cannot be null.
      isDefault - true if value was a default value encoded in the expression content; false otherwise
  • Method Details

    • getValue

      public String getValue()
      Gets the resolved value;
      Returns:
      the value. Will not be null
    • isDefault

      public boolean isDefault()
      Gets whether the resolved value represents some sort of default value that was embedded in the expression content; e.g. defaultValue in a traditional JBoss AS style expression with syntax propertyName[,propertyName]*[:defaultValue].
      Returns:
      true if the value is a default value.