Class StopMojo

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

    @Mojo(name="stop")
    public class StopMojo
    extends BatchEEMojoBase
    Stop a job.
    • Field Detail

      • executionId

        @Parameter(required=true,
                   property="batchee.executionId")
        protected long executionId
        the executionId of the execution to stop
    • Constructor Detail

      • StopMojo

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