Interface JobResource

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

public interface JobResource
Author:
Endi S. Dewata
  • Method Summary

    Modifier and Type
    Method
    Description
    Response
    Returns all jobs.
    Response
    Returns a specific job.
    Response
    Starts a specific job.
  • Method Details

    • findJobs

      Response findJobs() throws EBaseException
      Returns all jobs. If the method is executed by an admin, it will return all jobs. Otherwise, it will return all jobs owned by the user.
      Throws:
      EBaseException
    • getJob

      Response getJob(String id) throws EBaseException
      Returns a specific job. This method can only be executed by an admin or the job owner.
      Throws:
      EBaseException
    • startJob

      Response startJob(String id) throws EBaseException
      Starts a specific job. This method can only be executed by an admin or the job owner.
      Throws:
      EBaseException