Class AbstractDependencyInfo

java.lang.Object
io.helidon.pico.api.AbstractDependencyInfo
All Implemented Interfaces:
DependencyInfo
Direct Known Subclasses:
DefaultDependencyInfo

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

    • AbstractDependencyInfo

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

    • dependencyTo

      public ServiceInfoCriteria dependencyTo()
      Description copied from interface: DependencyInfo
      The service info describing what the injection point dependencies are dependent upon.
      Specified by:
      dependencyTo in interface DependencyInfo
      Returns:
      the service info dependency
    • injectionPointDependencies

      public Set<? extends InjectionPointInfo> injectionPointDependencies()
      Description copied from interface: DependencyInfo
      The set of injection points that depends upon DependencyInfo.dependencyTo().
      Specified by:
      injectionPointDependencies in interface DependencyInfo
      Returns:
      the set of dependencies
    • resolvedTo

      public Optional<ServiceProvider<?>> resolvedTo()
      Description copied from interface: DependencyInfo
      The ServiceProvider that this dependency is optional resolved and bound to. All dependencies from DependencyInfo.injectionPointDependencies() will be bound to this resolution.
      Specified by:
      resolvedTo in interface DependencyInfo
      Returns:
      the optional resolved and bounded service provider
    • __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.DependencyInfo, 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