Class BuildMetadataResolver
java.lang.Object
io.spring.initializr.generator.spring.build.BuildMetadataResolver
Resolve metadata information from the build.
- Author:
- Stephane Nicoll, Moritz Halbritter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondependencies(Build build) booleanSpecify if the givenBuildhas the givenfacetenabled.
-
Constructor Details
-
BuildMetadataResolver
-
-
Method Details
-
dependencies
Return aStreamofdependency metadatathat are defined by the specifiedBuild. If a dependency has no metadata it is skipped.- Parameters:
build- the build to query- Returns:
- a stream of dependency metadata
-
hasFacet
Specify if the givenBuildhas the givenfacetenabled.- Parameters:
build- the build to queryfacet- the facet to query- Returns:
trueif this build defines at least a dependency with that facet
-