|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.maven.plugin.AbstractMojo
org.jomc.mojo.AbstractJomcMojo
org.jomc.mojo.AbstractSourcesManageMojo
public abstract class AbstractSourcesManageMojo
Base class for managing source code files.
Field Summary |
---|
Fields inherited from interface org.apache.maven.plugin.Mojo |
---|
ROLE |
Constructor Summary | |
---|---|
AbstractSourcesManageMojo()
Creates a new AbstractSourcesManageMojo instance. |
Method Summary | |
---|---|
protected void |
executeTool()
Executes this tool. |
protected abstract ClassLoader |
getSourcesClassLoader()
Gets the class loader to use for managing source code files. |
protected abstract File |
getSourcesDirectory()
Gets the directory holding the source code files to manage. |
protected abstract String |
getSourcesModuleName()
Gets the name of the module to manage source code files of. |
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 |
---|
public AbstractSourcesManageMojo()
AbstractSourcesManageMojo
instance.
Method Detail |
---|
protected final void executeTool() throws Exception
AbstractJomcMojo
executeTool
in class AbstractJomcMojo
Exception
- if execution of this tool fails.protected abstract String getSourcesModuleName() throws MojoExecutionException
MojoExecutionException
- if getting the name fails.protected abstract ClassLoader getSourcesClassLoader() throws MojoExecutionException
MojoExecutionException
- if getting the class loader fails.protected abstract File getSourcesDirectory() throws MojoExecutionException
MojoExecutionException
- if getting the directory fails.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2005-2012 The JOMC Project. All Rights Reserved. |