@Mojo(name="commit-test-classes", defaultPhase=PROCESS_TEST_CLASSES, requiresDependencyResolution=TEST, threadSafe=true) public final class TestClassesCommitMojo extends AbstractClassesCommitMojo
Constructor and Description |
---|
TestClassesCommitMojo()
Creates a new
TestClassesCommitMojo instance. |
Modifier and Type | Method and Description |
---|---|
protected ClassLoader |
getClassesClassLoader()
Gets the class loader to use for committing class file model objects.
|
protected File |
getClassesDirectory()
Gets the directory holding the class files to commit model objects to.
|
protected String |
getClassesModuleName()
Gets the name of the module to commit class file model objects of.
|
protected String |
getExecutionStrategy()
Gets the execution strategy of the instance.
|
protected String |
getGoal()
Gets the goal of the instance.
|
assertValidParameters, executeTool, getTransformers, getTransformers, getTransformers
assertValidResources, copyDirectory, copyFile, createClassFileProcessor, createJomcTool, createModelContext, createObject, createObject, createResourceFileProcessor, createSourceFileProcessor, execute, getAbsoluteFile, getDirectory, getExecutorService, getMainClassLoader, getMainClasspathElements, getMavenProject, getMavenSession, getModel, getModel, getModuleName, getOutputDirectory, getProperties, getProperties, getReportOutputDirectory, getResource, getResource, getSessionDirectory, getSourceDirectory, getTestClassLoader, getTestClasspathElements, getTestModuleName, getTestOutputDirectory, getTestSourceDirectory, getTransformer, getTransformer, isClassProcessingEnabled, isExecutionPermitted, isLoggable, isModelObjectClasspathResolutionEnabled, isModelProcessingEnabled, isResourceProcessingEnabled, isSourceProcessingEnabled, isVerbose, log, log, logMissingModule, logProcessingModel, logProcessingModule, logSeparator, logSeparator, logToolSuccess, setClassProcessingEnabled, setModelObjectClasspathResolutionEnabled, setModelProcessingEnabled, setResourceProcessingEnabled, setSourceProcessingEnabled, setupJomcTool, setupModelContext, setVerbose
getLog, getPluginContext, setLog, setPluginContext
public TestClassesCommitMojo()
TestClassesCommitMojo
instance.protected String getClassesModuleName() throws MojoExecutionException
AbstractClassesCommitMojo
getClassesModuleName
in class AbstractClassesCommitMojo
MojoExecutionException
- if getting the name fails.protected ClassLoader getClassesClassLoader() throws MojoExecutionException
AbstractClassesCommitMojo
getClassesClassLoader
in class AbstractClassesCommitMojo
MojoExecutionException
- if getting the class loader fails.protected File getClassesDirectory() throws MojoExecutionException
AbstractClassesCommitMojo
getClassesDirectory
in class AbstractClassesCommitMojo
MojoExecutionException
- if getting the directory fails.protected String getGoal() throws MojoExecutionException
AbstractJomcMojo
getGoal
in class AbstractJomcMojo
MojoExecutionException
- if getting the goal of the instance fails.protected String getExecutionStrategy() throws MojoExecutionException
AbstractJomcMojo
getExecutionStrategy
in class AbstractJomcMojo
MojoExecutionException
- if getting the execution strategy of the instance fails.Copyright © 2005–2016 The JOMC Project. All rights reserved.