Class Java25CompilerPlugin.JavaLinker
java.lang.Object
build.spin.module.java.AbstractJavaLinker
build.spin.module.java.Java25CompilerPlugin.JavaLinker
- All Implemented Interfaces:
build.spin.Task<Path>
- Enclosing class:
Java25CompilerPlugin
@Named("jlink")
@Description("Build a jlink runtime image")
public static class Java25CompilerPlugin.JavaLinker
extends AbstractJavaLinker
A
Task to perform Java Linking on a Project.- Since:
- Jul-2019
- Author:
- brian.oliver
-
Nested Class Summary
Nested classes/interfaces inherited from interface build.spin.Task
build.spin.Task.Pattern -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjlink(Path buildPath, DependencyAnalysis analysis) Executejlinkon thisProjectMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface build.spin.Task
dependencies, execute
-
Constructor Details
-
JavaLinker
public JavaLinker()
-
-
Method Details
-
jlink
public Path jlink(@From(build.spin.module.clean.CleanPlugin.CreateBuildPath.class) Path buildPath, @From(Java25CompilerPlugin.JavaDependencyAnalysis.class) DependencyAnalysis analysis) throws Exception Description copied from class:AbstractJavaLinkerExecutejlinkon thisProject- Overrides:
jlinkin classAbstractJavaLinker- Parameters:
buildPath- the build path for theProjectanalysis- theDependencyAnalysiscontaining information for linking- Returns:
- the
Paththe path of thejlinkproduced Java Runtime - Throws:
Exception- should theTaskexecution fail
-