Interface UserJob


  • public interface UserJob
    A user defined job.
    • Method Detail

      • execute

        void execute​(UserJobContext jobContext)
              throws Exception
        Execute the job with the specified job context. If this method returns then the job status is set to:
        • Completed - if the return code is zero.
        • Error - if the return code is non-zero.
        This can be further influenced by the return code map to completed feature. If this method throws an exception, then the job is set to Error.
        Parameters:
        jobContext - the job context.
        Throws:
        Exception - if an error occurs.