@Mojo(name="validate-test-classes", defaultPhase=PROCESS_TEST_CLASSES, requiresDependencyResolution=TEST, threadSafe=true) public final class TestClassesValidateMojo extends AbstractClassesValidateMojo
Constructor and Description |
---|
TestClassesValidateMojo()
Creates a new
TestClassesValidateMojo instance. |
Modifier and Type | Method and Description |
---|---|
protected ClassLoader |
getClassesClassLoader()
Gets the class loader to use for validating class file model objects.
|
protected File |
getClassesDirectory()
Gets the directory holding the class files to validate model objects of.
|
protected String |
getClassesModuleName()
Gets the name of the module to validate class file model objects of.
|
protected String |
getExecutionStrategy()
Gets the execution strategy of the instance.
|
protected String |
getGoal()
Gets the goal of the instance.
|
executeTool
assertValidParameters, 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 TestClassesValidateMojo()
TestClassesValidateMojo
instance.protected String getClassesModuleName() throws MojoExecutionException
AbstractClassesValidateMojo
getClassesModuleName
in class AbstractClassesValidateMojo
MojoExecutionException
- if getting the name fails.protected ClassLoader getClassesClassLoader() throws MojoExecutionException
AbstractClassesValidateMojo
getClassesClassLoader
in class AbstractClassesValidateMojo
MojoExecutionException
- if getting the class loader fails.protected File getClassesDirectory() throws MojoExecutionException
AbstractClassesValidateMojo
getClassesDirectory
in class AbstractClassesValidateMojo
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.