org.commonjava.maven.plugins.execroot
Class AbstractDirectoryGoal
java.lang.Object
org.commonjava.maven.plugins.execroot.AbstractDirectoryGoal
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
- DirectoryOfGoal, ExecutionRootGoal, HighestBasedirGoal
public abstract class AbstractDirectoryGoal
- extends Object
- implements org.apache.maven.plugin.Mojo, org.apache.maven.plugin.ContextEnabled
| Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
property
protected String property
currentProject
protected org.apache.maven.project.MavenProject currentProject
session
protected org.apache.maven.execution.MavenSession session
quiet
protected boolean quiet
context
protected Map<String,Object> context
AbstractDirectoryGoal
protected AbstractDirectoryGoal()
execute
public final 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- See Also:
Mojo.execute()
getLogLabel
protected abstract String getLogLabel()
findDirectory
protected abstract File findDirectory()
throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
getContextKey
protected abstract String getContextKey()
getLog
public org.apache.maven.plugin.logging.Log getLog()
-
- Specified by:
getLog in interface org.apache.maven.plugin.Mojo
- See Also:
Mojo.getLog()
setLog
public void setLog(org.apache.maven.plugin.logging.Log log)
-
- Specified by:
setLog in interface org.apache.maven.plugin.Mojo
- See Also:
Mojo.setLog(org.apache.maven.plugin.logging.Log)
getPluginContext
public Map getPluginContext()
-
- Specified by:
getPluginContext in interface org.apache.maven.plugin.ContextEnabled
- See Also:
ContextEnabled.getPluginContext()
setPluginContext
public void setPluginContext(Map context)
-
- Specified by:
setPluginContext in interface org.apache.maven.plugin.ContextEnabled
- See Also:
ContextEnabled.setPluginContext(java.util.Map)
Copyright © 2011. All Rights Reserved.