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.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classAbstractContextualServiceQuery.Builder<B extends AbstractContextualServiceQuery.Builder<B,T>, T extends ContextualServiceQuery> Fluent API builder forT. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor using the builder argument. -
Method Summary
Modifier and TypeMethodDescriptionThe map of meta attributes describing each element of this type.booleanbooleanexpected()Set to true if there is an expectation that there is at least one match result from the search.inthashCode()Optionally, the injection point context this search applies to.The criteria to use for the lookup intoServices.toString()protected StringProduces the inner portion of the toString() output (i.e., what is between the parens).<T> voidvisitAttributes(AttributeVisitor<T> visitor, T userDefinedCtx) Visits all attributes of io.helidon.pico.api.ContextualServiceQuery, calling theAttributeVisitorfor each.
-
Constructor Details
-
AbstractContextualServiceQuery
Constructor using the builder argument.- Parameters:
b- the builder
-
-
Method Details
-
serviceInfoCriteria
Description copied from interface:ContextualServiceQueryThe criteria to use for the lookup intoServices.- Specified by:
serviceInfoCriteriain interfaceContextualServiceQuery- Returns:
- the service info criteria
-
injectionPointInfo
Description copied from interface:ContextualServiceQueryOptionally, the injection point context this search applies to.- Specified by:
injectionPointInfoin interfaceContextualServiceQuery- Returns:
- the optional injection point context info
-
expected
public boolean expected()Description copied from interface:ContextualServiceQuerySet to true if there is an expectation that there is at least one match result from the search.- Specified by:
expectedin interfaceContextualServiceQuery- Returns:
- true if it is expected there is at least a single match result
-
__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
-
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() -
equals
-
visitAttributes
Visits all attributes of io.helidon.pico.api.ContextualServiceQuery, calling theAttributeVisitorfor each.- Type Parameters:
T- type of the user defined context- Parameters:
visitor- the visitor called for each attributeuserDefinedCtx- any object you wish to pass to each visit call
-