| Modifier and Type | Field and Description |
|---|---|
private org.apache.maven.plugin.logging.Log |
log
The logger used to output diagnostic messages.
|
| Constructor and Description |
|---|
ToolFacade() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract int |
execute()
Runs the tool using the previously set parameters.
|
protected org.apache.maven.plugin.logging.Log |
getLog()
Gets the logger used to output diagnostic messages.
|
protected java.lang.String |
getToolName()
Gets the name of the tool.
|
void |
run()
Runs the tool using the previously set parameters.
|
void |
setLog(org.apache.maven.plugin.logging.Log logger)
Sets the logger used to output diagnostic messages.
|
private org.apache.maven.plugin.logging.Log log
public void setLog(org.apache.maven.plugin.logging.Log logger)
logger - The logger used to output diagnostic messages, may be null.protected org.apache.maven.plugin.logging.Log getLog()
null.protected java.lang.String getToolName()
null.public void run()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException - If the tool could not be invoked.org.apache.maven.plugin.MojoFailureException - If the tool reported a non-zero exit code.protected abstract int execute()
throws java.lang.Exception
java.lang.Exception - If the tool could not be invoked.