Interface BuildItemResolver
- All Known Implementing Classes:
MetadataBuildItemResolver, SimpleBuildItemResolver
public interface BuildItemResolver
Resolve an item of the
Build against an identifier.- Author:
- Stephane Nicoll
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleBuildItemResolverA defaultBuildItemResolverthat bypass resolution. -
Method Summary
Modifier and TypeMethodDescription@Nullable BillOfMaterialsresolveBom(String id) Resolve theBillOfMaterialswith the specifiedid.@Nullable DependencyResolve theDependencywith the specifiedid.@Nullable MavenRepositoryResolve therepositorywith the specifiedid.
-
Field Details
-
NO_OP
A defaultBuildItemResolverthat bypass resolution.
-
-
Method Details
-
resolveDependency
Resolve theDependencywith the specifiedid.- Parameters:
id- the id of the dependency- Returns:
- the matching
Dependencyornullif none is found
-
resolveBom
Resolve theBillOfMaterialswith the specifiedid.- Parameters:
id- the id of the bom- Returns:
- the matching
BillOfMaterialsornullif none is found
-
resolveRepository
Resolve therepositorywith the specifiedid.- Parameters:
id- the id of the bom- Returns:
- the matching
MavenRepositoryornullif none is found
-