public abstract class GenericBomAstTransformation extends Object implements SpringBootAstTransformation, Ordered
@Grab
. To install, implement the missing methods and list the class in
META-INF/services/org.springframework.boot.cli.compiler.SpringBootAstTransformation
. The Ordered.getOrder()
value needs to be before
DependencyManagementBomTransformation.ORDER
.HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
Constructor and Description |
---|
GenericBomAstTransformation() |
Modifier and Type | Method and Description |
---|---|
protected abstract String |
getBomModule()
The bom to be added to dependency management in compact form:
"<groupId>:<artifactId>:<version>" (like in a @Grab ). |
void |
visit(org.codehaus.groovy.ast.ASTNode[] nodes,
org.codehaus.groovy.control.SourceUnit source) |
public void visit(org.codehaus.groovy.ast.ASTNode[] nodes, org.codehaus.groovy.control.SourceUnit source)
visit
in interface org.codehaus.groovy.transform.ASTTransformation
protected abstract String getBomModule()
"<groupId>:<artifactId>:<version>"
(like in a @Grab
).Copyright © 2019 Pivotal Software, Inc.. All rights reserved.