Options
All
  • Public
  • Public/Protected
  • All
Menu

Represents the structure of a Spring Boot project, which can be inferred from its contents. Covers application class and starters.

Hierarchy

  • SpringBootProjectStructure

Index

Constructors

Private constructor

  • new SpringBootProjectStructure(applicationPackage: string, applicationClass: string, appClassFile: ProjectFile): SpringBootProjectStructure

Properties

appClassFile

appClassFile: ProjectFile

path to the file containing the @SpringBootApplication annotation

applicationClass

applicationClass: string

Name of the application class within the given package

applicationClassStem

applicationClassStem: string = this.applicationClass.replace(/Application$/, "")

The stem of the application class. Strip "Application" if present.

applicationPackage

applicationPackage: string

The package with the Spring Boot application class in it.

Methods

Static inferFromJavaOrKotlinSource

Static inferFromJavaSource

Static inferFromKotlinSource

Static Private inferFromSourceWithJavaLikeImports

  • inferFromSourceWithJavaLikeImports(p: Project, parserOrRegistry: FileParser | FileParserRegistry, globOptions: string | string[], pathExpression: string | PathExpression): Promise<SpringBootProjectStructure>

Generated using TypeDoc