Package de.drippinger

Class PublishMojo

  • All Implemented Interfaces:
    org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

    @Mojo(name="publish")
    public class PublishMojo
    extends org.apache.maven.plugin.AbstractMojo
    Publishes one or multiple SimulationContexts.
    The mojo finds the simulation log in the target directory and creates a SimulationContext out of it. Depending on the provided folder (see gatlingReportDir, it can find multiple simulation logs. The set of logs is then proceeded by Exporter instances. They are created by the ServiceLoader pattern. Each Exporter lib has to register its implementation and can, in turn, execute arbitrary code. The lib has to be declared as a plugin dependency in maven.
    • Field Summary

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

        ROLE
    • Constructor Summary

      Constructors 
      Constructor Description
      PublishMojo()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      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
    • Constructor Detail

      • PublishMojo

        public PublishMojo()
    • Method Detail

      • execute

        public void execute()