Class FileSystemCompiler.CompilationOptions

java.lang.Object
org.codehaus.groovy.tools.FileSystemCompiler.CompilationOptions
Enclosing class:
FileSystemCompiler

public static class FileSystemCompiler.CompilationOptions extends Object
Command-line options accepted by the groovyc launcher.
Since:
2.5
  • Constructor Details

    • CompilationOptions

      public CompilationOptions()
  • Method Details

    • toCompilerConfiguration

      public CompilerConfiguration toCompilerConfiguration() throws IOException
      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

      public String[] generateFileNames()
      Expands the parsed source-file arguments, including @-files, into the list of file names to compile.
      Returns:
      the source file names, or null if expansion failed