Class JWebAssemblyCompiler
java.lang.Object
io.schram.jwebassembly.JWebAssemblyCompiler
Facade for the "de.inetsoftware.jwebassembly.JWebAssembly" class. Retrieves and accesses the class via reflection.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionJWebAssemblyCompiler(org.apache.maven.artifact.Artifact compilerDependency, org.codehaus.plexus.logging.Logger log) Facade class for interacting with a (reflectively accessed) JWebAssembly instance -
Method Summary
Modifier and TypeMethodDescription(package private) void(package private) voidaddLibrary(File file) (package private) voidcompileToBinary(File target) (package private) voidcompileToText(File target) private static Methodprivate static Class<?> getReferenceToCompilerFor(org.apache.maven.artifact.Artifact compilerDependency) (package private) voidsetProperty(String key, String value)
-
Field Details
-
COMPILER_CLASS_NAME
- See Also:
-
compiler
-
addFile
-
compileToBinary
-
compileToText
-
setProperty
-
addLibrary
-
log
private final org.codehaus.plexus.logging.Logger log
-
-
Constructor Details
-
JWebAssemblyCompiler
JWebAssemblyCompiler(org.apache.maven.artifact.Artifact compilerDependency, org.codehaus.plexus.logging.Logger log) throws org.apache.maven.plugin.MojoExecutionException Facade class for interacting with a (reflectively accessed) JWebAssembly instance- Throws:
org.apache.maven.plugin.MojoExecutionException
-
-
Method Details
-
getReferenceToCompilerFor
private static Class<?> getReferenceToCompilerFor(org.apache.maven.artifact.Artifact compilerDependency) throws org.apache.maven.plugin.MojoExecutionException - Throws:
org.apache.maven.plugin.MojoExecutionException
-
getMethod
-
addFile
- Throws:
org.apache.maven.plugin.MojoExecutionException
-
addLibrary
- Throws:
org.apache.maven.plugin.MojoExecutionException
-
setProperty
-
compileToBinary
- Throws:
org.apache.maven.plugin.MojoExecutionException
-
compileToText
- Throws:
org.apache.maven.plugin.MojoExecutionException
-