Package org.codehaus.groovy.tools
Class FileSystemCompiler.CompilationOptions
java.lang.Object
org.codehaus.groovy.tools.FileSystemCompiler.CompilationOptions
- Enclosing class:
- FileSystemCompiler
Command-line options accepted by the
groovyc launcher.- Since:
- 2.5
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionString[]Expands the parsed source-file arguments, including@-files, into the list of file names to compile.Builds a compiler configuration from the parsed command-line options.
-
Constructor Details
-
CompilationOptions
public CompilationOptions()
-
-
Method Details
-
toCompilerConfiguration
Builds a compiler configuration from the parsed command-line options.- Returns:
- the configured compiler configuration
- Throws:
IOException- if a configuration script cannot be read
-
generateFileNames
Expands the parsed source-file arguments, including@-files, into the list of file names to compile.- Returns:
- the source file names, or
nullif expansion failed
-