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

Readonly appClassFile

appClassFile: ProjectFile

path to the file containing the @SpringBootApplication annotation

Readonly applicationClass

applicationClass: string

Name of the application class within the given package

Readonly applicationClassStem

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

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

Readonly applicationPackage

applicationPackage: string

The package with the Spring Boot application class in it.

Methods

Static inferFromJavaOrKotlin

Static Private inferFromSourceWithJavaLikeImports

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

Generated using TypeDoc