org.ajax4jsf.builder.mojo
Class CompileMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.ajax4jsf.builder.mojo.AbstractCDKMojo
org.ajax4jsf.builder.mojo.CompileMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo, org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable
public class CompileMojo
- extends AbstractCDKMojo
- implements org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable
Compile all xml templates, matched given pattern to Java classes. Sources
will be created in AbstractCDKMojo.outputJavaDirectory
- Author:
- shura
Fields inherited from class org.ajax4jsf.builder.mojo.AbstractCDKMojo |
classpathElements, compileSourceRoots, componentConfigDirectory, converterConfigDirectory, facesConfigInclude, key, library, outputDirectory, outputJavaDirectory, outputResourcesDirectory, outputTestsDirectory, project, resourcesInclude, taglibInclude, templatesDirectory, validatorConfigDirectory, velocity |
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
Method Summary |
void |
addEncodedString(java.lang.StringBuffer buff,
java.lang.Object obj)
|
void |
contextualize(org.codehaus.plexus.context.Context context)
|
void |
execute()
|
java.lang.String |
toLog(java.lang.Object obj)
Convert any Java Object to JavaScript representation ( as possible ). |
Methods inherited from class org.apache.maven.plugin.AbstractMojo |
getLog, getPluginContext, setLog, setPluginContext |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CompileMojo
public CompileMojo()
execute
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
- Specified by:
execute
in interface org.apache.maven.plugin.Mojo
- Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
contextualize
public void contextualize(org.codehaus.plexus.context.Context context)
throws org.codehaus.plexus.context.ContextException
- Specified by:
contextualize
in interface org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable
- Throws:
org.codehaus.plexus.context.ContextException
toLog
public java.lang.String toLog(java.lang.Object obj)
throws org.apache.maven.plugin.MojoExecutionException
- Convert any Java Object to JavaScript representation ( as possible ).
- Parameters:
obj
-
- Returns:
-
- Throws:
org.apache.maven.plugin.MojoExecutionException
addEncodedString
public void addEncodedString(java.lang.StringBuffer buff,
java.lang.Object obj)
Copyright © 2009. All Rights Reserved.