Class AbstractInjectionPlan

java.lang.Object
io.helidon.pico.spi.AbstractInjectionPlan
All Implemented Interfaces:
InjectionPlan
Direct Known Subclasses:
DefaultInjectionPlan

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

    • AbstractInjectionPlan

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

    • serviceProvider

      public ServiceProvider<?> serviceProvider()
      Description copied from interface: InjectionPlan
      The service provider this plan pertains to.
      Specified by:
      serviceProvider in interface InjectionPlan
      Returns:
      the service provider this plan pertains to
    • injectionPointInfo

      public InjectionPointInfo injectionPointInfo()
      Description copied from interface: InjectionPlan
      The injection point info for this element, which will also include its identity information.
      Specified by:
      injectionPointInfo in interface InjectionPlan
      Returns:
      the injection point info for this element
    • injectionPointQualifiedServiceProviders

      public List<ServiceProvider<?>> injectionPointQualifiedServiceProviders()
      Description copied from interface: InjectionPlan
      The list of service providers that are qualified to satisfy the given injection point for this service provider.
      Specified by:
      injectionPointQualifiedServiceProviders in interface InjectionPlan
      Returns:
      the qualified service providers for this injection point
    • wasResolved

      public boolean wasResolved()
      Description copied from interface: InjectionPlan
      Flag indicating whether resolution occurred.
      Specified by:
      wasResolved in interface InjectionPlan
      Returns:
      true if resolution occurred
    • resolved

      public Optional<Object> resolved()
      Description copied from interface: InjectionPlan
      The resolved value, set only if InjectionPlan.wasResolved().
      Specified by:
      resolved in interface InjectionPlan
      Returns:
      any resolved value
    • __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.spi.InjectionPlan, 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