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.AbstractMojoBase 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 StringontologySrcprotected Stringtarget
-
Constructor Summary
Constructors Constructor Description AbstractGenerationPlugin()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidexecute()Execute this plugin.protected abstract voidgenerateArtifacts()Subclasses must override this.
-
-
-
Method Detail
-
generateArtifacts
protected abstract void generateArtifacts() throws org.apache.maven.plugin.MojoExecutionExceptionSubclasses must override this.- Throws:
org.apache.maven.plugin.MojoExecutionException
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionExceptionExecute 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.
-
-