org.codehaus.mojo.jspc
Class CompilationMojoSupport

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.codehaus.groovy.maven.mojo.GroovyMojo
          extended by org.codehaus.mojo.jspc.CompilationMojoSupport
All Implemented Interfaces:
groovy.lang.GroovyObject, org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
Direct Known Subclasses:
CompileMojo, TestCompileMojo

public abstract class CompilationMojoSupport
extends org.codehaus.groovy.maven.mojo.GroovyMojo

Support JSP compilation mojos.

Version:
$Id: CompilationMojoSupport.groovy 6803 2008-04-21 12:04:24Z user57 $

Field Summary
 
Fields inherited from class org.codehaus.groovy.maven.mojo.GroovyMojo
__timeStamp, __timeStamp__239_neverHappen1222927117793, sanitizeErrors
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
CompilationMojoSupport()
           
 
Method Summary
 void execute()
           
protected abstract  java.util.List getClasspathElements()
           
 boolean getCompile()
           
 boolean getFiltering()
           
 boolean getIncludeInProject()
           
 java.lang.String getInjectString()
           
 java.io.File getInputWebXml()
           
 java.lang.String getJavaEncoding()
           
 boolean getListErrors()
           
 groovy.lang.MetaClass getMetaClass()
           
 java.io.File getOutputWebXml()
           
 java.lang.String getPackageName()
           
 java.lang.Object getProperty(java.lang.String name)
           
 boolean getShowSuccess()
           
 boolean getSmapDumped()
           
 boolean getSmapSupressed()
           
 java.lang.String getSource()
           
 org.apache.maven.shared.model.fileset.FileSet getSources()
           
 java.lang.String getTarget()
           
 boolean getTrimSpaces()
           
 boolean getValidateXml()
           
 int getVerbose()
           
 java.io.File getWebFragmentFile()
           
 java.lang.String getWorkingDirectory()
           
 java.lang.Object invokeMethod(java.lang.String name, java.lang.Object args)
           
 boolean isCompile()
           
 boolean isFiltering()
           
 boolean isIncludeInProject()
           
 boolean isListErrors()
           
 boolean isShowSuccess()
           
 boolean isSmapDumped()
           
 boolean isSmapSupressed()
           
 boolean isTrimSpaces()
           
 boolean isValidateXml()
           
 void setCompile(boolean value)
           
 void setFiltering(boolean value)
           
 void setIncludeInProject(boolean value)
           
 void setInjectString(java.lang.String value)
           
 void setInputWebXml(java.io.File value)
           
 void setJavaEncoding(java.lang.String value)
           
 void setListErrors(boolean value)
           
 void setMetaClass(groovy.lang.MetaClass metaClass)
           
 void setOutputWebXml(java.io.File value)
           
 void setPackageName(java.lang.String value)
           
 void setProperty(java.lang.String name, java.lang.Object value)
           
 void setShowSuccess(boolean value)
           
 void setSmapDumped(boolean value)
           
 void setSmapSupressed(boolean value)
           
 void setSource(java.lang.String value)
           
 void setSources(org.apache.maven.shared.model.fileset.FileSet value)
           
 void setTarget(java.lang.String value)
           
 void setTrimSpaces(boolean value)
           
 void setValidateXml(boolean value)
           
 void setVerbose(int value)
           
 void setWebFragmentFile(java.io.File value)
           
 void setWorkingDirectory(java.lang.String value)
           
 
Methods inherited from class org.codehaus.groovy.maven.mojo.GroovyMojo
afterExecute, beforeExecute, fail, fail, getAnt
 
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
 

Constructor Detail

CompilationMojoSupport

public CompilationMojoSupport()
Method Detail

getWorkingDirectory

public java.lang.String getWorkingDirectory()

setWorkingDirectory

public void setWorkingDirectory(java.lang.String value)

getSources

public org.apache.maven.shared.model.fileset.FileSet getSources()

setSources

public void setSources(org.apache.maven.shared.model.fileset.FileSet value)

getWebFragmentFile

public java.io.File getWebFragmentFile()

setWebFragmentFile

public void setWebFragmentFile(java.io.File value)

getInputWebXml

public java.io.File getInputWebXml()

setInputWebXml

public void setInputWebXml(java.io.File value)

getOutputWebXml

public java.io.File getOutputWebXml()

setOutputWebXml

public void setOutputWebXml(java.io.File value)

getJavaEncoding

public java.lang.String getJavaEncoding()

setJavaEncoding

public void setJavaEncoding(java.lang.String value)

getSource

public java.lang.String getSource()

setSource

public void setSource(java.lang.String value)

getTarget

public java.lang.String getTarget()

setTarget

public void setTarget(java.lang.String value)

getCompile

public boolean getCompile()

isCompile

public boolean isCompile()

setCompile

public void setCompile(boolean value)

getIncludeInProject

public boolean getIncludeInProject()

isIncludeInProject

public boolean isIncludeInProject()

setIncludeInProject

public void setIncludeInProject(boolean value)

getInjectString

public java.lang.String getInjectString()

setInjectString

public void setInjectString(java.lang.String value)

getPackageName

public java.lang.String getPackageName()

setPackageName

public void setPackageName(java.lang.String value)

getVerbose

public int getVerbose()

setVerbose

public void setVerbose(int value)

getShowSuccess

public boolean getShowSuccess()

isShowSuccess

public boolean isShowSuccess()

setShowSuccess

public void setShowSuccess(boolean value)

getSmapDumped

public boolean getSmapDumped()

isSmapDumped

public boolean isSmapDumped()

setSmapDumped

public void setSmapDumped(boolean value)

getSmapSupressed

public boolean getSmapSupressed()

isSmapSupressed

public boolean isSmapSupressed()

setSmapSupressed

public void setSmapSupressed(boolean value)

getListErrors

public boolean getListErrors()

isListErrors

public boolean isListErrors()

setListErrors

public void setListErrors(boolean value)

getValidateXml

public boolean getValidateXml()

isValidateXml

public boolean isValidateXml()

setValidateXml

public void setValidateXml(boolean value)

getTrimSpaces

public boolean getTrimSpaces()

isTrimSpaces

public boolean isTrimSpaces()

setTrimSpaces

public void setTrimSpaces(boolean value)

getFiltering

public boolean getFiltering()

isFiltering

public boolean isFiltering()

setFiltering

public void setFiltering(boolean value)

getClasspathElements

protected abstract java.util.List getClasspathElements()

execute

public void execute()

getMetaClass

public groovy.lang.MetaClass getMetaClass()
Specified by:
getMetaClass in interface groovy.lang.GroovyObject
Overrides:
getMetaClass in class org.codehaus.groovy.maven.mojo.GroovyMojo

setMetaClass

public void setMetaClass(groovy.lang.MetaClass metaClass)
Specified by:
setMetaClass in interface groovy.lang.GroovyObject
Overrides:
setMetaClass in class org.codehaus.groovy.maven.mojo.GroovyMojo

invokeMethod

public java.lang.Object invokeMethod(java.lang.String name,
                                     java.lang.Object args)
Specified by:
invokeMethod in interface groovy.lang.GroovyObject
Overrides:
invokeMethod in class org.codehaus.groovy.maven.mojo.GroovyMojo

getProperty

public java.lang.Object getProperty(java.lang.String name)
Specified by:
getProperty in interface groovy.lang.GroovyObject
Overrides:
getProperty in class org.codehaus.groovy.maven.mojo.GroovyMojo

setProperty

public void setProperty(java.lang.String name,
                        java.lang.Object value)
Specified by:
setProperty in interface groovy.lang.GroovyObject
Overrides:
setProperty in class org.codehaus.groovy.maven.mojo.GroovyMojo


Copyright © 2009. All Rights Reserved.