类 SpringRetryCompilerAutoConfiguration
- java.lang.Object
- org.springframework.boot.cli.compiler.CompilerAutoConfiguration
- org.springframework.boot.cli.compiler.autoconfigure.SpringRetryCompilerAutoConfiguration
public class SpringRetryCompilerAutoConfiguration extends CompilerAutoConfiguration
CompilerAutoConfigurationfor Spring Retry.- 从以下版本开始:
- 1.3.0
构造器概要
构造器 构造器 说明 SpringRetryCompilerAutoConfiguration()
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidapplyDependencies(DependencyCustomizer dependencies)Apply any dependency customizations.voidapplyImports(org.codehaus.groovy.control.customizers.ImportCustomizer imports)Apply any import customizations.booleanmatches(org.codehaus.groovy.ast.ClassNode classNode)Strategy method used to determine when compiler auto-configuration should be applied.从类继承的方法 org.springframework.boot.cli.compiler.CompilerAutoConfiguration
apply, applyToMainClass
构造器详细资料
SpringRetryCompilerAutoConfiguration
public SpringRetryCompilerAutoConfiguration()
方法详细资料
matches
public boolean matches(org.codehaus.groovy.ast.ClassNode classNode)
从类复制的说明:CompilerAutoConfigurationStrategy method used to determine when compiler auto-configuration should be applied. Defaults to always.- 覆盖:
matches在类中CompilerAutoConfiguration- 参数:
classNode- the class node- 返回:
trueif the compiler should be auto configured using this class. If this method returnsfalseno other strategy methods will be called.
applyDependencies
public void applyDependencies(DependencyCustomizer dependencies)
从类复制的说明:CompilerAutoConfigurationApply any dependency customizations. This method will only be called ifCompilerAutoConfiguration.matches(org.codehaus.groovy.ast.ClassNode)returnstrue.- 覆盖:
applyDependencies在类中CompilerAutoConfiguration- 参数:
dependencies- dependency customizer
applyImports
public void applyImports(org.codehaus.groovy.control.customizers.ImportCustomizer imports)
从类复制的说明:CompilerAutoConfigurationApply any import customizations. This method will only be called ifCompilerAutoConfiguration.matches(org.codehaus.groovy.ast.ClassNode)returnstrue.- 覆盖:
applyImports在类中CompilerAutoConfiguration- 参数:
imports- import customizer