Class FluxtionGeneratorMojo

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

@Mojo(name="generate",
      requiresProject=true,
      requiresDependencyResolution=COMPILE,
      defaultPhase=COMPILE)
public class FluxtionGeneratorMojo
extends org.apache.maven.plugin.AbstractMojo
A mojo to wrap the invocation of the Fluxtion executable.
Author:
Greg Higgins (greg.higgins@v12technology.com)
  • Field Summary

    Fields 
    Modifier and Type Field Description
    boolean assignNonPublicMembers
    Override whether the generated static event processor supports reflection based assignment for initialisation.
    boolean compileGenerated
    Compile the source artifacts, placing the results in the build directory
    boolean formatSource
    Format the generated source files.
    boolean generateDebugPrep
    Generate a debug version of the static event processor for use with the fluxtion graphical debugger tool.
    boolean generateDescription
    Generate meta data for the generated static event processor.
    boolean generateTestDecorator
    Generate a test decorator for the static event processor
    boolean ignoreErrors
    continue build even if fluxtion tool returns an error
    boolean logDebug
    Set log level to debug for fluxtion generation.

    Fields inherited from interface org.apache.maven.plugin.Mojo

    ROLE
  • Constructor Summary

    Constructors 
    Constructor Description
    FluxtionGeneratorMojo()  
  • Method Summary

    Modifier and Type Method Description
    void execute()  

    Methods inherited from class org.apache.maven.plugin.AbstractMojo

    getLog, getPluginContext, setLog, setPluginContext

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • generateDebugPrep

      @Parameter(property="generateDebugPrep", defaultValue="false") public boolean generateDebugPrep
      Generate a debug version of the static event processor for use with the fluxtion graphical debugger tool.
    • generateDescription

      @Parameter(property="generateDescription", defaultValue="true") public boolean generateDescription
      Generate meta data for the generated static event processor. The meta includes a png and graphml describing the SEP.
    • generateTestDecorator

      @Parameter(property="generateTestDecorator", defaultValue="false") public boolean generateTestDecorator
      Generate a test decorator for the static event processor
    • assignNonPublicMembers

      @Parameter(property="assignNonPublicMembers", defaultValue="false") public boolean assignNonPublicMembers
      Override whether the generated static event processor supports reflection based assignment for initialisation.
    • compileGenerated

      @Parameter(property="compileGenerated", defaultValue="true") public boolean compileGenerated
      Compile the source artifacts, placing the results in the build directory
    • formatSource

      @Parameter(property="formatSource", defaultValue="true") public boolean formatSource
      Format the generated source files.
    • logDebug

      @Parameter(property="logDebug", defaultValue="false") public boolean logDebug
      Set log level to debug for fluxtion generation.
    • ignoreErrors

      @Parameter(property="ignoreErrors", defaultValue="false") public boolean ignoreErrors
      continue build even if fluxtion tool returns an error
  • Constructor Details

  • Method Details

    • execute

      public void execute() throws org.apache.maven.plugin.MojoExecutionException
      Throws:
      org.apache.maven.plugin.MojoExecutionException