public abstract class AbstractInstrumentMojo
extends org.apache.maven.plugin.AbstractMojo
| Modifier and Type | Field and Description |
|---|---|
protected File |
classesDirectory |
protected org.apache.maven.project.MavenProject |
project |
| Constructor and Description |
|---|
AbstractInstrumentMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract ClassLoader |
createClassLoader() |
protected void |
doExecute() |
protected static URL |
fileNameToURL(String fileName) |
protected abstract File |
getInstrumentDirectory() |
protected abstract String |
getType() |
getLog, getPluginContext, setLog, setPluginContext@Parameter(defaultValue="${project.build.outputDirectory}",
required=true)
protected File classesDirectory
@Component protected org.apache.maven.project.MavenProject project
protected void doExecute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionprotected abstract File getInstrumentDirectory()
protected abstract String getType()
protected abstract ClassLoader createClassLoader() throws Exception
ExceptionCopyright © 2016. All rights reserved.