public abstract class AbstractDirectoryGoal extends Object implements org.apache.maven.plugin.Mojo, org.apache.maven.plugin.ContextEnabled
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,Object> |
context |
protected org.apache.maven.project.MavenProject |
currentProject |
protected String |
property |
protected boolean |
quiet |
protected org.apache.maven.execution.MavenSession |
session |
protected boolean |
systemProperty |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractDirectoryGoal() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute() |
protected abstract File |
findDirectory() |
protected abstract String |
getContextKey() |
org.apache.maven.plugin.logging.Log |
getLog() |
protected abstract String |
getLogLabel() |
Map |
getPluginContext() |
void |
setLog(org.apache.maven.plugin.logging.Log log) |
void |
setPluginContext(Map context) |
protected String property
protected org.apache.maven.project.MavenProject currentProject
protected org.apache.maven.execution.MavenSession session
protected boolean quiet
protected boolean systemProperty
public final void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
execute in interface org.apache.maven.plugin.Mojoorg.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionMojo.execute()protected abstract String getLogLabel()
protected abstract File findDirectory() throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionprotected abstract String getContextKey()
public org.apache.maven.plugin.logging.Log getLog()
getLog in interface org.apache.maven.plugin.MojoMojo.getLog()public void setLog(org.apache.maven.plugin.logging.Log log)
setLog in interface org.apache.maven.plugin.MojoMojo.setLog(org.apache.maven.plugin.logging.Log)public Map getPluginContext()
getPluginContext in interface org.apache.maven.plugin.ContextEnabledContextEnabled.getPluginContext()public void setPluginContext(Map context)
setPluginContext in interface org.apache.maven.plugin.ContextEnabledContextEnabled.setPluginContext(java.util.Map)Copyright © 2017. All Rights Reserved.