Package io.spring.initializr.web.project
Class MetadataProjectDescriptionCustomizer
java.lang.Object
io.spring.initializr.web.project.MetadataProjectDescriptionCustomizer
- All Implemented Interfaces:
ProjectDescriptionCustomizer,org.springframework.core.Ordered
public class MetadataProjectDescriptionCustomizer
extends Object
implements ProjectDescriptionCustomizer
A
ProjectDescriptionCustomizer that uses the metadata to set default values for missing attributes if necessary.- Author:
- Stephane Nicoll
-
Field Summary
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcustomize(MutableProjectDescription description) Customize the project description.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.project.ProjectDescriptionCustomizer
getOrder
-
Constructor Details
-
MetadataProjectDescriptionCustomizer
-
-
Method Details
-
customize
Description copied from interface:ProjectDescriptionCustomizerCustomize the project description.- Specified by:
customizein interfaceProjectDescriptionCustomizer- Parameters:
description- the project description to customize
-