类 SpringSocialFacebookCompilerAutoConfiguration
- java.lang.Object
- org.springframework.boot.cli.compiler.CompilerAutoConfiguration
- org.springframework.boot.cli.compiler.autoconfigure.SpringSocialFacebookCompilerAutoConfiguration
public class SpringSocialFacebookCompilerAutoConfiguration extends CompilerAutoConfiguration
CompilerAutoConfiguration
for Spring Social Facebook.- 从以下版本开始:
- 1.1.0
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 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.从类继承的方法 org.springframework.boot.cli.compiler.CompilerAutoConfiguration
apply, applyToMainClass
构造器详细资料
SpringSocialFacebookCompilerAutoConfiguration
public SpringSocialFacebookCompilerAutoConfiguration()
方法详细资料
matches
public boolean matches(org.codehaus.groovy.ast.ClassNode classNode)
从类复制的说明:CompilerAutoConfiguration
Strategy method used to determine when compiler auto-configuration should be applied. Defaults to always.- 覆盖:
matches
在类中CompilerAutoConfiguration
- 参数:
classNode
- the class node- 返回:
true
if the compiler should be auto configured using this class. If this method returnsfalse
no other strategy methods will be called.
applyDependencies
public void applyDependencies(DependencyCustomizer dependencies) throws org.codehaus.groovy.control.CompilationFailedException
从类复制的说明:CompilerAutoConfiguration
Apply any dependency customizations. This method will only be called ifCompilerAutoConfiguration.matches(org.codehaus.groovy.ast.ClassNode)
returnstrue
.- 覆盖:
applyDependencies
在类中CompilerAutoConfiguration
- 参数:
dependencies
- dependency customizer- 抛出:
org.codehaus.groovy.control.CompilationFailedException
- if the dependencies cannot be applied
applyImports
public void applyImports(org.codehaus.groovy.control.customizers.ImportCustomizer imports) throws org.codehaus.groovy.control.CompilationFailedException
从类复制的说明:CompilerAutoConfiguration
Apply any import customizations. This method will only be called ifCompilerAutoConfiguration.matches(org.codehaus.groovy.ast.ClassNode)
returnstrue
.- 覆盖:
applyImports
在类中CompilerAutoConfiguration
- 参数:
imports
- import customizer- 抛出:
org.codehaus.groovy.control.CompilationFailedException
- if the imports cannot be applied