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 aProjectDescriptionDiff
for the specifiedProjectDescription
.
-
Constructor Details
-
DefaultProjectDescriptionDiffFactory
public DefaultProjectDescriptionDiffFactory()
-
-
Method Details
-
create
Description copied from interface:ProjectDescriptionDiffFactory
Create aProjectDescriptionDiff
for the specifiedProjectDescription
. Any change on the specifieddescription
is tracked by the returned instance.- Specified by:
create
in 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
-