public class RabbitCompilerAutoConfiguration extends CompilerAutoConfiguration
CompilerAutoConfiguration
for Spring Rabbit.Constructor and Description |
---|
RabbitCompilerAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
void |
applyDependencies(DependencyCustomizer dependencies)
Apply any dependency customizations.
|
void |
applyImports(org.codehaus.groovy.control.customizers.ImportCustomizer imports)
Apply any import customizations.
|
boolean |
matches(org.codehaus.groovy.ast.ClassNode classNode)
Strategy method used to determine when compiler auto-configuration should be
applied.
|
apply, applyToMainClass
public boolean matches(org.codehaus.groovy.ast.ClassNode classNode)
CompilerAutoConfiguration
matches
in class CompilerAutoConfiguration
classNode
- the class nodetrue
if the compiler should be auto configured using this class. If
this method returns false
no other strategy methods will be called.public void applyDependencies(DependencyCustomizer dependencies) throws org.codehaus.groovy.control.CompilationFailedException
CompilerAutoConfiguration
CompilerAutoConfiguration.matches(org.codehaus.groovy.ast.ClassNode)
returns true
.applyDependencies
in class CompilerAutoConfiguration
dependencies
- dependency customizerorg.codehaus.groovy.control.CompilationFailedException
- if the dependencies cannot be appliedpublic void applyImports(org.codehaus.groovy.control.customizers.ImportCustomizer imports) throws org.codehaus.groovy.control.CompilationFailedException
CompilerAutoConfiguration
CompilerAutoConfiguration.matches(org.codehaus.groovy.ast.ClassNode)
returns true
.applyImports
in class CompilerAutoConfiguration
imports
- import customizerorg.codehaus.groovy.control.CompilationFailedException
- if the imports cannot be appliedCopyright © 2021 Pivotal Software, Inc.. All rights reserved.