public class OptionSetGroovyCompilerConfiguration extends Object implements GroovyCompilerConfiguration
OptionSet
as a
GroovyCompilerConfiguration
.DEFAULT_CLASSPATH
Modifier | Constructor and Description |
---|---|
protected |
OptionSetGroovyCompilerConfiguration(joptsimple.OptionSet optionSet,
CompilerOptionHandler compilerOptionHandler) |
|
OptionSetGroovyCompilerConfiguration(joptsimple.OptionSet optionSet,
CompilerOptionHandler compilerOptionHandler,
List<RepositoryConfiguration> repositoryConfiguration) |
Modifier and Type | Method and Description |
---|---|
String[] |
getClasspath()
Returns the classpath for local resources.
|
protected joptsimple.OptionSet |
getOptions() |
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.
|
protected OptionSetGroovyCompilerConfiguration(joptsimple.OptionSet optionSet, CompilerOptionHandler compilerOptionHandler)
public OptionSetGroovyCompilerConfiguration(joptsimple.OptionSet optionSet, CompilerOptionHandler compilerOptionHandler, List<RepositoryConfiguration> repositoryConfiguration)
protected joptsimple.OptionSet getOptions()
public GroovyCompilerScope getScope()
GroovyCompilerConfiguration
getScope
in interface GroovyCompilerConfiguration
public boolean isGuessImports()
GroovyCompilerConfiguration
isGuessImports
in interface GroovyCompilerConfiguration
true
if imports should be guessed, otherwise false
public boolean isGuessDependencies()
GroovyCompilerConfiguration
isGuessDependencies
in interface GroovyCompilerConfiguration
true
if dependencies should be guessed, otherwise false
public boolean isAutoconfigure()
GroovyCompilerConfiguration
isAutoconfigure
in interface GroovyCompilerConfiguration
true
if auto-configuration transformations should be applied,
otherwise false
public String[] getClasspath()
GroovyCompilerConfiguration
getClasspath
in interface GroovyCompilerConfiguration
public List<RepositoryConfiguration> getRepositoryConfiguration()
GroovyCompilerConfiguration
getRepositoryConfiguration
in interface GroovyCompilerConfiguration
public boolean isQuiet()
GroovyCompilerConfiguration
isQuiet
in interface GroovyCompilerConfiguration
true
if running in quiet modeCopyright © 2019 Pivotal Software, Inc.. All rights reserved.