Class Java8CompilerPlugin
java.lang.Object
build.spin.module.java.AbstractJavaPlugin
build.spin.module.java.Java8CompilerPlugin
- All Implemented Interfaces:
build.spin.Extension, JavaCompilerPlugin, JavaPlugin, build.spin.Plugin, build.spin.Plugin.Comparable<JavaCompilerPlugin>, Comparable<JavaCompilerPlugin>
A
JavaCompilerPlugin for Java 8 based Projects.- Since:
- Jul-2019
- Author:
- brian.oliver
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classATaskto compile the source code in theProject.static classATaskto detect theClassPathsuitable for compiling theProject.static classATaskto detect theModulePathsuitable for compiling theProject.static classATaskthat resolves the full source-graph dependency closure for main compilation and classifies candidates into module-path vs classpath.static classATaskto determine the source files for compilation.static classATaskto determine the source paths for compilation.static classATaskto generate Java Documentation from the source code in theProject.static classThePlugin.MetaClassforJava8CompilerPlugin.Nested classes/interfaces inherited from interface build.spin.Plugin
build.spin.Plugin.Comparable<P> -
Field Summary
Fields inherited from class AbstractJavaPlugin
platform, project, recorder, versioning -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild.base.option.JDKVersionObtains theJDKVersionfor which theJavaPluginis designed to operate.Methods inherited from class AbstractJavaPlugin
getJDK, getModuleDescriptor, getSourceRootPath, getVersionMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface build.spin.Extension
nameMethods inherited from interface JavaCompilerPlugin
compareToMethods inherited from interface JavaPlugin
getJDK, getModuleDescriptorMethods inherited from interface build.spin.Plugin
invocables
-
Constructor Details
-
Java8CompilerPlugin
public Java8CompilerPlugin()Constructs aJava8CompilerPlugin.
-
-
Method Details
-
getJavaVersion
public build.base.option.JDKVersion getJavaVersion()Description copied from interface:JavaPluginObtains theJDKVersionfor which theJavaPluginis designed to operate.- Specified by:
getJavaVersionin interfaceJavaPlugin- Specified by:
getJavaVersionin classAbstractJavaPlugin- Returns:
- the
JDKVersion
-