@Mojo(name="validate-main-classes", defaultPhase=PROCESS_CLASSES, requiresDependencyResolution=TEST, threadSafe=true) public final class MainClassesValidateMojo extends AbstractClassesValidateMojo
Constructor and Description |
---|
MainClassesValidateMojo()
Creates a new
MainClassesValidateMojo 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 MainClassesValidateMojo()
MainClassesValidateMojo
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()
AbstractJomcMojo
getGoal
in class AbstractJomcMojo
protected String getExecutionStrategy()
AbstractJomcMojo
getExecutionStrategy
in class AbstractJomcMojo
Copyright © 2005–2016 The JOMC Project. All rights reserved.