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.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classAbstractDependencyInfo.Builder<B extends AbstractDependencyInfo.Builder<B,T>, T extends DependencyInfo> 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.The service info describing what the injection point dependencies are dependent upon.booleaninthashCode()Set<? extends InjectionPointInfo>The set of injection points that depends uponDependencyInfo.dependencyTo().TheServiceProviderthat this dependency is optional resolved and bound to.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.DependencyInfo, calling theAttributeVisitorfor each.
-
Constructor Details
-
AbstractDependencyInfo
Constructor using the builder argument.- Parameters:
b- the builder
-
-
Method Details
-
dependencyTo
Description copied from interface:DependencyInfoThe service info describing what the injection point dependencies are dependent upon.- Specified by:
dependencyToin interfaceDependencyInfo- Returns:
- the service info dependency
-
injectionPointDependencies
Description copied from interface:DependencyInfoThe set of injection points that depends uponDependencyInfo.dependencyTo().- Specified by:
injectionPointDependenciesin interfaceDependencyInfo- Returns:
- the set of dependencies
-
resolvedTo
Description copied from interface:DependencyInfoTheServiceProviderthat this dependency is optional resolved and bound to. All dependencies fromDependencyInfo.injectionPointDependencies()will be bound to this resolution.- Specified by:
resolvedToin interfaceDependencyInfo- Returns:
- the optional resolved and bounded service provider
-
__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.DependencyInfo, 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
-