Class AbstractBootstrap

java.lang.Object
io.helidon.pico.api.AbstractBootstrap
All Implemented Interfaces:
Bootstrap
Direct Known Subclasses:
DefaultBootstrap

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

    • AbstractBootstrap

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

    • config

      public Optional<Config> config()
      Description copied from interface: Bootstrap
      Provides the base primordial bootstrap configuration to the PicoServicesProvider. The provider will then bootstrap PicoServices using this bootstrap instance. then default values will be used accordingly.
      Specified by:
      config in interface Bootstrap
      Returns:
      the bootstrap helidon configuration
    • limitRuntimePhase

      public Optional<Phase> limitRuntimePhase()
      Description copied from interface: Bootstrap
      In certain conditions Pico services should be initialized but not started (i.e., avoiding calls to PostConstruct etc.). This can be used in special cases where the normal Pico startup should limit lifecycle up to a given phase. Normally one should not use this feature - it is mainly used in Pico tooling (e.g., the pico-maven-plugin).
      Specified by:
      limitRuntimePhase in interface Bootstrap
      Returns:
      the phase to stop at during lifecycle
    • __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.pico.api.Bootstrap, 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