Class DefaultProjectDescriptionDiffFactory
java.lang.Object
io.spring.initializr.generator.project.DefaultProjectDescriptionDiffFactory
- All Implemented Interfaces:
ProjectDescriptionDiffFactory
public class DefaultProjectDescriptionDiffFactory
extends Object
implements ProjectDescriptionDiffFactory
A default
ProjectDescriptionDiffFactory implementation that creates default
ProjectDescriptionDiff instances.- Author:
- Chris Bono
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate(ProjectDescription description) Create aProjectDescriptionDifffor the specifiedProjectDescription.
-
Constructor Details
-
DefaultProjectDescriptionDiffFactory
public DefaultProjectDescriptionDiffFactory()
-
-
Method Details
-
create
Description copied from interface:ProjectDescriptionDiffFactoryCreate aProjectDescriptionDifffor the specifiedProjectDescription. Any change on the specifieddescriptionis tracked by the returned instance.- Specified by:
createin interfaceProjectDescriptionDiffFactory- Parameters:
description- the project description to use as the source of the diff- Returns:
- a diff instance using the current state of the specified description as its source
-