Interface JobExecutor

  • All Implemented Interfaces:

    @FunctionalInterface() 
    public interface JobExecutor
    
                        

    Async Job Executor

    Executes a configured job.

    Since:

    1.0.0

    Author:

    Elizabeth Paige Harper https://github.com/foxcapades

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract JobResult execute(JobContext ctx) Executes the job configured by the given JobContext.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • execute

         abstract JobResult execute(JobContext ctx)

        Executes the job configured by the given JobContext.

        Parameters:
        ctx - Context in/for the job that is to be executed.
        Returns:

        Job completion status.