Class HoconValue.HoconSubstitution

java.lang.Object
org.apache.juneau.marshall.hocon.HoconValue
org.apache.juneau.marshall.hocon.HoconValue.HoconSubstitution
Enclosing class:
HoconValue

public static final class HoconValue.HoconSubstitution extends HoconValue
HOCON substitution reference (${var} or ${?var}).
  • Constructor Details

    • HoconSubstitution

      public HoconSubstitution(String path, boolean optional)
      Constructor.
      Parameters:
      path - The reference path.
      optional - Whether optional (${?var}).
  • Method Details

    • getType

      Description copied from class: HoconValue
      Returns the value type.
      Specified by:
      getType in class HoconValue
      Returns:
      The type.
    • getPath

      public String getPath()
      Returns the reference path.
      Returns:
      The path.
    • isOptional

      public boolean isOptional()
      Returns whether this is an optional substitution.
      Returns:
      true for ${?var}.