Package gov.nasa.pds.model.plugin
Class AbstractGenerationPlugin
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- gov.nasa.pds.model.plugin.AbstractGenerationPlugin
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
DocumentationGenerationPlugin
public abstract class AbstractGenerationPlugin extends org.apache.maven.plugin.AbstractMojo
Base class for Maven-plugin-based artifact generators from PDS ontology data, which itself comes from Protégé.
-
-
Field Summary
Fields Modifier and Type Field Description protected String
ontologySrc
protected String
target
-
Constructor Summary
Constructors Constructor Description AbstractGenerationPlugin()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
execute()
Execute this plugin.protected abstract void
generateArtifacts()
Subclasses must override this.
-
-
-
Method Detail
-
generateArtifacts
protected abstract void generateArtifacts() throws org.apache.maven.plugin.MojoExecutionException
Subclasses must override this.- Throws:
org.apache.maven.plugin.MojoExecutionException
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException
Execute this plugin. The exeuction of this plugin uses the Template Method design pattern.- Throws:
org.apache.maven.plugin.MojoExecutionException
- If the center does not hold.
-
-