Class DevToolsMavenBuildCustomizer
java.lang.Object
io.spring.initializr.generator.spring.dependency.devtools.DevToolsMavenBuildCustomizer
- All Implemented Interfaces:
BuildCustomizer<MavenBuild>,org.springframework.core.Ordered
Maven
BuildCustomizer that sets the "optional" flag when devtools is selected.- Author:
- Stephane Nicoll
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.spring.initializr.generator.spring.build.BuildCustomizer
BuildCustomizer.OrderedBuildCustomizer<B extends Build> -
Field Summary
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
ConstructorsConstructorDescriptionDevToolsMavenBuildCustomizer(String devtoolsDependencyId) Create a new instance with the identifier for the devtools dependency. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.spring.initializr.generator.spring.build.BuildCustomizer
getOrder
-
Constructor Details
-
DevToolsMavenBuildCustomizer
Create a new instance with the identifier for the devtools dependency.- Parameters:
devtoolsDependencyId- the id of the devtools dependency
-
-
Method Details
-
customize
- Specified by:
customizein interfaceBuildCustomizer<MavenBuild>
-