Class GettingStartedSection
java.lang.Object
io.spring.initializr.generator.spring.documentation.PreDefinedSection
io.spring.initializr.generator.spring.documentation.GettingStartedSection
- All Implemented Interfaces:
Section
Section that provides links and other important references to get started.
- Author:
- Madhura Bhave, Stephane Nicoll
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classInternal representation of a link. -
Method Summary
Modifier and TypeMethodDescriptionaddAdditionalLink(String href, String description) addGuideLink(String href, String description) addReferenceDocLink(String href, String description) guides()booleanisEmpty()resolveSubSections(List<Section> sections) Resolve the sections to render based on the current registered sections.Methods inherited from class io.spring.initializr.generator.spring.documentation.PreDefinedSection
addSection, write
-
Method Details
-
isEmpty
public boolean isEmpty()- Overrides:
isEmptyin classPreDefinedSection
-
resolveSubSections
Description copied from class:PreDefinedSectionResolve the sections to render based on the current registered sections.- Overrides:
resolveSubSectionsin classPreDefinedSection- Parameters:
sections- the registered sections- Returns:
- the sections to render
-
addReferenceDocLink
-
referenceDocs
-
addGuideLink
-
guides
-
addAdditionalLink
-
additionalLinks
-