Class OperationMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- org.tentackle.maven.plugin.wizard.AbstractWizardMojo
-
- org.tentackle.maven.plugin.wizard.OperationMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="operation", inheritByDefault=false, aggregator=true) public class OperationMojo extends AbstractWizardMojoWizard to create operation files.
-
-
Field Summary
-
Fields inherited from class org.tentackle.maven.plugin.wizard.AbstractWizardMojo
entityAliases, filesets, modelDefaults, modelDir
-
-
Constructor Summary
Constructors Constructor Description OperationMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute()java.util.List<OperationProfile>getOperationProfiles()protected voidvalidate()Validates the configuration.-
Methods inherited from class org.tentackle.maven.plugin.wizard.AbstractWizardMojo
createPackageMap, getEntityAliases, getModelDefaults, getProfiles, getStatusDir, getTemplateDir, installTemplates, loadModel, processFileSet
-
-
-
-
Method Detail
-
getOperationProfiles
public java.util.List<OperationProfile> getOperationProfiles()
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException- Specified by:
executein interfaceorg.apache.maven.plugin.Mojo- Overrides:
executein classAbstractWizardMojo- Throws:
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureException
-
validate
protected void validate() throws org.apache.maven.plugin.MojoExecutionExceptionDescription copied from class:AbstractWizardMojoValidates the configuration.- Overrides:
validatein classAbstractWizardMojo- Throws:
org.apache.maven.plugin.MojoExecutionException- if project not set or misconfigured
-
-