Class AbstractConfigResolverRequest

java.lang.Object
io.helidon.builder.config.spi.AbstractConfigResolverRequest
All Implemented Interfaces:
ConfigResolverRequest
Direct Known Subclasses:
AbstractConfigResolverMapRequest, DefaultConfigResolverRequest

@Generated(value="io.helidon.builder.processor.tools.DefaultBuilderCreatorProvider", comments="version=1") public abstract class AbstractConfigResolverRequest extends Object implements ConfigResolverRequest
Abstract implementation w/ builder for ConfigResolverRequest.
  • Constructor Details

    • AbstractConfigResolverRequest

      protected AbstractConfigResolverRequest(AbstractConfigResolverRequest.Builder<?,?> b)
      Constructor using the builder argument.
      Parameters:
      b - the builder
  • Method Details

    • configKey

      public String configKey()
      Description copied from interface: ConfigResolverRequest
      The configuration key.
      Specified by:
      configKey in interface ConfigResolverRequest
      Returns:
      the optional configuration key
    • attributeName

      public String attributeName()
      Description copied from interface: ConfigResolverRequest
      The config builder attribute name - which is typically the same as the method name.
      Specified by:
      attributeName in interface ConfigResolverRequest
      Returns:
      the config builder attribute name
    • valueType

      public Class valueType()
      Description copied from interface: ConfigResolverRequest
      The type of the attribute value.
      Specified by:
      valueType in interface ConfigResolverRequest
      Returns:
      the type of the attribute value
    • valueComponentType

      public Optional<Class<?>> valueComponentType()
      Description copied from interface: ConfigResolverRequest
      The generic component type of the ConfigResolverRequest.valueType(). For example, this would be "String" for Optional<String>.
      Specified by:
      valueComponentType in interface ConfigResolverRequest
      Returns:
      the value component type
    • __metaAttributes

      public static Map<String,Map<String,Object>> __metaAttributes()
      The map of meta attributes describing each element of this type.
      Returns:
      the map of meta attributes using the key being the attribute name
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • toStringInner

      protected String toStringInner()
      Produces the inner portion of the toString() output (i.e., what is between the parens).
      Returns:
      portion of the toString output
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object another)
      Overrides:
      equals in class Object
    • visitAttributes

      public <T> void visitAttributes(AttributeVisitor<T> visitor, T userDefinedCtx)
      Visits all attributes of io.helidon.builder.config.spi.ConfigResolverRequest, calling the AttributeVisitor for each.
      Type Parameters:
      T - type of the user defined context
      Parameters:
      visitor - the visitor called for each attribute
      userDefinedCtx - any object you wish to pass to each visit call