- All Superinterfaces:
- Prototype.Api
- All Known Implementing Classes:
- CompilerOptions.BuilderBase.CompilerOptionsImpl
Provides configuration to the javac compiler.
- See Also:
- 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic classFluent API builder forCompilerOptions.static classCompilerOptions.BuilderBase<BUILDER extends CompilerOptions.BuilderBase<BUILDER,PROTOTYPE>, PROTOTYPE extends CompilerOptions> Fluent API builder base forCompilerOptions.
- 
Method SummaryModifier and TypeMethodDescriptionstatic CompilerOptions.Builderbuilder()Create a new fluent API builder to customize configuration.static CompilerOptions.Builderbuilder(CompilerOptions instance) Create a new fluent API builder from an existing instance.The classpath to pass to the compiler.The command line arguments to pass to the compiler.static CompilerOptionscreate()Create a new instance with default values.logger()Logger to use, falls back to system logger.The modulepath to pass to the compiler.Target directory to generate class files to.release()The compiler release.source()The compiler source version.The source path to pass to the compiler.target()The compiler target version.
- 
Method Details- 
builderCreate a new fluent API builder to customize configuration.- Returns:
- a new builder
 
- 
builderCreate a new fluent API builder from an existing instance.- Parameters:
- instance- an existing instance used as a base for the builder
- Returns:
- a builder based on an instance
 
- 
createCreate a new instance with default values.- Returns:
- a new instance
 
- 
classpathThe classpath to pass to the compiler.- Returns:
- classpath
 
- 
modulepathThe modulepath to pass to the compiler.- Returns:
- the module path
 
- 
sourcepathThe source path to pass to the compiler.- Returns:
- the source path
 
- 
commandLineArgumentsThe command line arguments to pass to the compiler.- Returns:
- arguments
 
- 
sourceString source()The compiler source version.- Returns:
- source version
 
- 
targetString target()The compiler target version.- Returns:
- target version
 
- 
release- Returns:
- release for compilation
 
- 
outputDirectoryPath outputDirectory()Target directory to generate class files to.- Returns:
- output directory
 
- 
loggerCodegenLogger logger()Logger to use, falls back to system logger.- Returns:
- logger
 
 
-