public abstract class AbstractClassesValidateMojo extends AbstractJomcMojo
Constructor and Description |
---|
AbstractClassesValidateMojo()
Creates a new
AbstractClassesValidateMojo instance. |
Modifier and Type | Method and Description |
---|---|
protected void |
executeTool()
Executes this tool.
|
protected abstract ClassLoader |
getClassesClassLoader()
Gets the class loader to use for validating class file model objects.
|
protected abstract File |
getClassesDirectory()
Gets the directory holding the class files to validate model objects of.
|
protected abstract String |
getClassesModuleName()
Gets the name of the module to validate class file model objects of.
|
assertValidParameters, assertValidResources, copyDirectory, copyFile, createClassFileProcessor, createJomcTool, createModelContext, createObject, createObject, createResourceFileProcessor, createSourceFileProcessor, execute, getAbsoluteFile, getDirectory, getExecutionStrategy, getExecutorService, getGoal, 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 AbstractClassesValidateMojo()
AbstractClassesValidateMojo
instance.protected final void executeTool() throws Exception
AbstractJomcMojo
executeTool
in class AbstractJomcMojo
Exception
- if execution of this tool fails.protected abstract String getClassesModuleName() throws MojoExecutionException
MojoExecutionException
- if getting the name fails.protected abstract ClassLoader getClassesClassLoader() throws MojoExecutionException
MojoExecutionException
- if getting the class loader fails.protected abstract File getClassesDirectory() throws MojoExecutionException
MojoExecutionException
- if getting the directory fails.Copyright © 2005–2016 The JOMC Project. All rights reserved.