Class JobInstancesMojo

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

    @Mojo(name="instances")
    public class JobInstancesMojo
    extends BatchEEMojoBase
    Print job instances.
    • Field Detail

      • jobName

        @Parameter(required=true,
                   property="batchee.job")
        protected String jobName
        the job name to use to find job instances
      • start

        @Parameter(property="batchee.start",
                   defaultValue="0")
        protected int start
        the first job instance to take into account
      • count

        @Parameter(property="batchee.count",
                   defaultValue="10")
        protected int count
        the maximum number of instance to bring back
    • Constructor Detail

      • JobInstancesMojo

        public JobInstancesMojo()
    • 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