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.
|
protected OptionSetGroovyCompilerConfiguration(joptsimple.OptionSet optionSet,
CompilerOptionHandler compilerOptionHandler)
public OptionSetGroovyCompilerConfiguration(joptsimple.OptionSet optionSet,
CompilerOptionHandler compilerOptionHandler,
List<RepositoryConfiguration> repositoryConfiguration)
protected joptsimple.OptionSet getOptions()
public GroovyCompilerScope getScope()
GroovyCompilerConfigurationgetScope in interface GroovyCompilerConfigurationpublic boolean isGuessImports()
GroovyCompilerConfigurationisGuessImports in interface GroovyCompilerConfigurationtrue if imports should be guessed, otherwise falsepublic boolean isGuessDependencies()
GroovyCompilerConfigurationisGuessDependencies in interface GroovyCompilerConfigurationtrue if dependencies should be guessed, otherwise falsepublic boolean isAutoconfigure()
GroovyCompilerConfigurationisAutoconfigure in interface GroovyCompilerConfigurationtrue if auto-configuration transformations should be applied,
otherwise falsepublic String[] getClasspath()
GroovyCompilerConfigurationgetClasspath in interface GroovyCompilerConfigurationpublic List<RepositoryConfiguration> getRepositoryConfiguration()
GroovyCompilerConfigurationgetRepositoryConfiguration in interface GroovyCompilerConfigurationCopyright © 2016 Pivotal Software, Inc.. All rights reserved.