Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "lib/spring/transform/addSpringBootStarterTransform"

Index

Variables

Const DefaultGroup

DefaultGroup: "org.springframework.boot" = "org.springframework.boot"

Functions

addSpringBootStarterTransform

  • addSpringBootStarterTransform(artifact: string, group?: string): CodeTransform
  • Return a code transform that will add the given Spring Boot starter to a project. Do nothing if it's already there, or the project isn't a Spring Boot project.

    Parameters

    • artifact: string

      starter name

    • Default value group: string = DefaultGroup

      group the starter is from. Defaults to org.springframework.boot

    Returns CodeTransform

Object literals

Const AddSpringBootStarter

AddSpringBootStarter: object

Command to add a Spring Boot starter to the project

description

description: string = "Add a Spring Boot starter to the project"

intent

intent: string[] = ["add spring boot starter", "add starter"]

name

name: string = "add-spring-boot-starter"

transform

transform: (Anonymous function)[] = [async (p, ci) =>addSpringBootStarterTransform(ci.parameters.artifact,ci.parameters.group)(p, ci),]

transformPresentation

  • transformPresentation(ci: PushAwareParametersInvocation<object>): PullRequest

parameters

parameters: object

artifact

artifact: object

description

description: string = "Starter artifact"

group

group: object

description

description: string = `Startup group. Defaults to ${DefaultGroup}`

required

required: false = false

Generated using TypeDoc