Interface Jobby


  • public interface Jobby
    • Method Detail

      • run

        boolean run()
      • getStats

        @Nullable
        default Map<String,​Object> getStats()
        Returns:
        A map containing statistics for a Jobby, optionally null if the Jobby is unable to provide stats.
      • getErrorMessage

        @Nullable
        default String getErrorMessage()
        Returns:
        A string representing the error that caused a Jobby to fail. Can be null if the Jobby did not fail, or is unable to provide an error message.