Class AbstractContextualServiceQuery

java.lang.Object
io.helidon.pico.api.AbstractContextualServiceQuery
All Implemented Interfaces:
ContextualServiceQuery
Direct Known Subclasses:
DefaultContextualServiceQuery

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

    • AbstractContextualServiceQuery

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

    • serviceInfoCriteria

      public ServiceInfoCriteria serviceInfoCriteria()
      Description copied from interface: ContextualServiceQuery
      The criteria to use for the lookup into Services.
      Specified by:
      serviceInfoCriteria in interface ContextualServiceQuery
      Returns:
      the service info criteria
    • injectionPointInfo

      public Optional<InjectionPointInfo> injectionPointInfo()
      Description copied from interface: ContextualServiceQuery
      Optionally, the injection point context this search applies to.
      Specified by:
      injectionPointInfo in interface ContextualServiceQuery
      Returns:
      the optional injection point context info
    • expected

      public boolean expected()
      Description copied from interface: ContextualServiceQuery
      Set to true if there is an expectation that there is at least one match result from the search.
      Specified by:
      expected in interface ContextualServiceQuery
      Returns:
      true if it is expected there is at least a single match result
    • __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.ContextualServiceQuery, 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