Class ReStartMojo

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

    @Mojo(name="restart")
    public class ReStartMojo
    extends JobActionMojoBase
    Restart a job.
    • Field Detail

      • executionId

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

      • ReStartMojo

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