Interface GroovyCompilerConfiguration
- All Known Subinterfaces:
SpringApplicationRunnerConfiguration
- All Known Implementing Classes:
OptionSetGroovyCompilerConfiguration
public interface GroovyCompilerConfiguration
Configuration for theGroovyCompiler
.
Field Summary
Fields Modifier and Type Field Description static String[]
DEFAULT_CLASSPATH
Constant to be used when there is noclasspath
.
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.
Field Detail
DEFAULT_CLASSPATH
static final String[] DEFAULT_CLASSPATH
Constant to be used when there is noclasspath
.
Method Detail
getScope
GroovyCompilerScope getScope()
Returns the scope in which the compiler operates.- Returns:
- the scope of the compiler
isGuessImports
boolean isGuessImports()
Returns if import declarations should be guessed.- Returns:
true
if imports should be guessed, otherwisefalse
isGuessDependencies
boolean isGuessDependencies()
Returns if jar dependencies should be guessed.- Returns:
true
if dependencies should be guessed, otherwisefalse
isAutoconfigure
boolean isAutoconfigure()
Returns true if auto-configuration transformations should be applied.- Returns:
true
if auto-configuration transformations should be applied, otherwisefalse
getClasspath
String[] getClasspath()
Returns the classpath for local resources.- Returns:
- 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.- Returns:
- the repository configurations
isQuiet
boolean isQuiet()
Returns if running in quiet mode.- Returns:
true
if running in quiet mode