Class ConfigItem.BuilderBase.ConfigItemImpl

java.lang.Object
io.helidon.config.ConfigItem.BuilderBase.ConfigItemImpl
All Implemented Interfaces:
Prototype.Api, ConfigItem
Enclosing class:
ConfigItem.BuilderBase<BUILDER extends ConfigItem.BuilderBase<BUILDER,PROTOTYPE>,PROTOTYPE extends ConfigItem>

protected static class ConfigItem.BuilderBase.ConfigItemImpl extends Object implements ConfigItem
Generated implementation of the prototype, can be extended by descendant prototype implementations.
  • Constructor Details

    • ConfigItemImpl

      protected ConfigItemImpl(ConfigItem.BuilderBase<?,?> builder)
      Create an instance providing a builder.
      Parameters:
      builder - extending builder base of this prototype
  • Method Details

    • cacheItem

      public boolean cacheItem()
      Description copied from interface: ConfigItem
      Whether to cache this handled config item or not. If overall caching is disabled, this will not turn it on even if set to true.
      Specified by:
      cacheItem in interface ConfigItem
      Returns:
      whether to cache handled config item
    • item

      public String item()
      Description copied from interface: ConfigItem
      Handled config item.
      Specified by:
      item in interface ConfigItem
      Returns:
      config item
    • toString

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

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object