Class DiagramMojo

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

    @Mojo(name="diagram")
    public class DiagramMojo
    extends org.apache.maven.plugin.AbstractMojo
    • Field Detail

      • path

        @Parameter(property="batchee.path",
                   required=true)
        protected String path
      • failIfMissing

        @Parameter(property="batchee.failIfMissing",
                   defaultValue="false")
        protected boolean failIfMissing
      • view

        @Parameter(property="batchee.viewer",
                   defaultValue="false")
        protected boolean view
      • width

        @Parameter(property="batchee.width",
                   defaultValue="640")
        protected int width
      • height

        @Parameter(property="batchee.height",
                   defaultValue="480")
        protected int height
      • adjust

        @Parameter(property="batchee.adjust",
                   defaultValue="false")
        protected boolean adjust
      • output

        @Parameter(property="batchee.outputDir",
                   defaultValue="${project.build.directory}/batchee-diagram/")
        protected File output
      • format

        @Parameter(property="batchee.format",
                   defaultValue="png")
        protected String format
      • outputFileName

        @Parameter(property="batchee.outputFileName")
        protected String outputFileName
      • rotateEdges

        @Parameter(property="batchee.rotateEdges",
                   defaultValue="true")
        protected boolean rotateEdges
      • layout

        @Parameter(property="batchee.layout",
                   defaultValue="level")
        protected String layout
    • Constructor Detail

      • DiagramMojo

        public DiagramMojo()
    • Method Detail

      • execute

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