
@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.
|
executeToolassertValidParameters, 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, setVerbosegetLog, getPluginContext, setLog, setPluginContextpublic TestClassesValidateMojo()
TestClassesValidateMojo instance.protected String getClassesModuleName() throws MojoExecutionException
AbstractClassesValidateMojogetClassesModuleName in class AbstractClassesValidateMojoMojoExecutionException - if getting the name fails.protected ClassLoader getClassesClassLoader() throws MojoExecutionException
AbstractClassesValidateMojogetClassesClassLoader in class AbstractClassesValidateMojoMojoExecutionException - if getting the class loader fails.protected File getClassesDirectory() throws MojoExecutionException
AbstractClassesValidateMojogetClassesDirectory in class AbstractClassesValidateMojoMojoExecutionException - if getting the directory fails.protected String getGoal() throws MojoExecutionException
AbstractJomcMojogetGoal in class AbstractJomcMojoMojoExecutionException - if getting the goal of the instance fails.protected String getExecutionStrategy() throws MojoExecutionException
AbstractJomcMojogetExecutionStrategy in class AbstractJomcMojoMojoExecutionException - if getting the execution strategy of the instance fails.Copyright © 2005–2016 The JOMC Project. All rights reserved.