public abstract class AbstractModelShowMojo extends AbstractJomcMojo
Constructor and Description |
---|
AbstractModelShowMojo()
Creates a new
AbstractModelShowMojo instance. |
Modifier and Type | Method and Description |
---|---|
protected void |
executeTool()
Executes this tool.
|
protected abstract ClassLoader |
getDisplayClassLoader()
Gets the class loader to use for displaying or dumping model objects.
|
protected abstract Model |
getDisplayModel(ModelContext modelContext)
Gets the model to display or dump.
|
assertValidParameters, assertValidResources, createClassFileProcessor, createJomcTool, createModelContext, createObject, createResourceFileProcessor, createSourceFileProcessor, execute, getAbsoluteFile, getDirectory, getExecutionStrategy, getGoal, getMainClassLoader, getMainClasspathElements, getMavenProject, getMavenSession, getModel, getModel, getModuleName, getOutputDirectory, getProperties, getReportOutputDirectory, getResource, getSessionDirectory, getSourceDirectory, getTestClassLoader, getTestClasspathElements, getTestModuleName, getTestOutputDirectory, getTestSourceDirectory, 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 AbstractModelShowMojo()
AbstractModelShowMojo
instance.protected final void executeTool() throws Exception
AbstractJomcMojo
executeTool
in class AbstractJomcMojo
Exception
- if execution of this tool fails.protected abstract Model getDisplayModel(ModelContext modelContext) throws MojoExecutionException
modelContext
- The model context to use for getting the model.MojoExecutionException
- if getting the model fails.protected abstract ClassLoader getDisplayClassLoader() throws MojoExecutionException
MojoExecutionException
- if getting the class loader fails.Copyright © 2005-2013 The JOMC Project. All Rights Reserved.