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 SimpleBuildItemResolver
A defaultBuildItemResolver
that bypass resolution. -
Method Summary
Modifier and TypeMethodDescriptionresolveBom
(String id) Resolve theBillOfMaterials
with the specifiedid
.Resolve theDependency
with the specifiedid
.Resolve therepository
with the specifiedid
.
-
Field Details
-
NO_OP
A defaultBuildItemResolver
that bypass resolution.
-
-
Method Details
-
resolveDependency
Resolve theDependency
with the specifiedid
.- Parameters:
id
- the id of the dependency- Returns:
- the matching
Dependency
ornull
if none is found
-
resolveBom
Resolve theBillOfMaterials
with the specifiedid
.- Parameters:
id
- the id of the bom- Returns:
- the matching
BillOfMaterials
ornull
if none is found
-
resolveRepository
Resolve therepository
with the specifiedid
.- Parameters:
id
- the id of the bom- Returns:
- the matching
MavenRepository
ornull
if none is found
-