接口 GroovyCompilerConfiguration
public interface GroovyCompilerConfiguration
Configuration for theGroovyCompiler
.
字段概要
字段 修饰符和类型 字段 说明 static String[]
DEFAULT_CLASSPATH
Constant to be used when there is noclasspath
.
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 String[]
getClasspath()
Returns the classpath for local resources.List<RepositoryConfiguration>
getRepositoryConfiguration()
Returns the configuration for the repositories that will be used by the compiler to resolve dependencies.GroovyCompilerScope
getScope()
Returns the scope in which the compiler operates.boolean
isAutoconfigure()
Returns true if auto-configuration transformations should be applied.boolean
isGuessDependencies()
Returns if jar dependencies should be guessed.boolean
isGuessImports()
Returns if import declarations should be guessed.boolean
isQuiet()
Returns if running in quiet mode.
字段详细资料
DEFAULT_CLASSPATH
static final String[] DEFAULT_CLASSPATH
Constant to be used when there is noclasspath
.
方法详细资料
getScope
GroovyCompilerScope getScope()
Returns the scope in which the compiler operates.- 返回:
- the scope of the compiler
isGuessImports
boolean isGuessImports()
Returns if import declarations should be guessed.- 返回:
true
if imports should be guessed, otherwisefalse
isGuessDependencies
boolean isGuessDependencies()
Returns if jar dependencies should be guessed.- 返回:
true
if dependencies should be guessed, otherwisefalse
isAutoconfigure
boolean isAutoconfigure()
Returns true if auto-configuration transformations should be applied.- 返回:
true
if auto-configuration transformations should be applied, otherwisefalse
getClasspath
String[] getClasspath()
Returns the classpath for local resources.- 返回:
- a path for local resources
getRepositoryConfiguration
List<RepositoryConfiguration> getRepositoryConfiguration()
Returns the configuration for the repositories that will be used by the compiler to resolve dependencies.- 返回:
- the repository configurations
isQuiet
boolean isQuiet()
Returns if running in quiet mode.- 返回:
true
if running in quiet mode