Class OperationMojo

java.lang.Object
org.apache.maven.plugin.AbstractMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

@Mojo(name="operation", aggregator=true) public class OperationMojo extends AbstractWizardMojo
Wizard to create operation files.
Brings up an FX UI to create the operation related Java files.

Best invoked from within the directory of the maven parent of the project.

  • Constructor Details

    • OperationMojo

      public OperationMojo()
  • Method Details

    • getStage

      protected javafx.stage.Stage getStage()
      Description copied from class: AbstractWizardMojo
      Gets the stage, if this an interactive FX application.
      Specified by:
      getStage in class AbstractWizardMojo
      Returns:
      the stage, null if console application
    • getOperationProfiles

      public List<OperationProfile> getOperationProfiles()
    • executeImpl

      public void executeImpl() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
      Overrides:
      executeImpl in class AbstractWizardMojo
      Throws:
      org.apache.maven.plugin.MojoExecutionException
      org.apache.maven.plugin.MojoFailureException
    • validate

      protected boolean validate() throws org.apache.maven.plugin.MojoExecutionException
      Overrides:
      validate in class AbstractWizardMojo
      Throws:
      org.apache.maven.plugin.MojoExecutionException