Class AbstractActivationRequest

java.lang.Object
io.helidon.pico.api.AbstractActivationRequest
All Implemented Interfaces:
ActivationRequest
Direct Known Subclasses:
DefaultActivationRequest

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

    • AbstractActivationRequest

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

    • injectionPoint

      public Optional<InjectionPointInfo> injectionPoint()
      Description copied from interface: ActivationRequest
      Optionally, the injection point context information.
      Specified by:
      injectionPoint in interface ActivationRequest
      Returns:
      injection point info
    • startingPhase

      public Optional<Phase> startingPhase()
      Description copied from interface: ActivationRequest
      The phase to start activation. Typically, this should be left as the default (i.e., PENDING).
      Specified by:
      startingPhase in interface ActivationRequest
      Returns:
      phase to start
    • targetPhase

      public Phase targetPhase()
      Description copied from interface: ActivationRequest
      Ultimate target phase for activation.
      Specified by:
      targetPhase in interface ActivationRequest
      Returns:
      phase to target
    • throwIfError

      public boolean throwIfError()
      Description copied from interface: ActivationRequest
      Whether to throw an exception on failure to activate, or return an error activation result on activation.
      Specified by:
      throwIfError in interface ActivationRequest
      Returns:
      whether to throw on failure
    • __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.ActivationRequest, 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