Klasse JobControllerImpl

java.lang.Object
de.dlr.proseo.planner.rest.JobControllerImpl
Alle implementierten Schnittstellen:
JobController

@Component public class JobControllerImpl extends Object implements JobController
Spring MVC controller for the prosEO planner; implements the services required to plan and handle jobs.
Autor:
Ernst Melchinger
  • Konstruktorübersicht

    Konstruktoren
    Konstruktor
    Beschreibung
     
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    org.springframework.http.ResponseEntity<RestJob>
    cancelJob(String jobId, org.springframework.http.HttpHeaders httpHeaders)
    Cancel job of id
    org.springframework.http.ResponseEntity<String>
    countJobs(String state, Long orderId, org.springframework.http.HttpHeaders httpHeaders)
    Get production planner number of jobs by order id and state
    org.springframework.http.ResponseEntity<RestJob>
    getJob(String jobId, org.springframework.http.HttpHeaders httpHeaders)
    Get production planner job
    org.springframework.http.ResponseEntity<List<RestJob>>
    getJobs(String state, Long orderId, Long recordFrom, Long recordTo, Boolean logs, String[] orderBy, org.springframework.http.HttpHeaders httpHeaders)
    Get production planner jobs, optionally filtered by job state and/or order ID
    org.springframework.http.ResponseEntity<RestJobGraph>
    graphJobSteps(String jobId, org.springframework.http.HttpHeaders httpHeaders)
    Dependencies of all job steps of job
    org.springframework.http.ResponseEntity<RestJob>
    resumeJob(String jobId, org.springframework.http.HttpHeaders httpHeaders)
    Resume job of id
    org.springframework.http.ResponseEntity<RestJob>
    retryJob(String id, org.springframework.http.HttpHeaders httpHeaders)
    Retry job of id
    org.springframework.http.ResponseEntity<RestJob>
    suspendJob(String jobId, Boolean forceP, org.springframework.http.HttpHeaders httpHeaders)
    Suspend job of id

    Von Klasse geerbte Methoden java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Konstruktordetails

    • JobControllerImpl

      public JobControllerImpl()
  • Methodendetails

    • getJobs

      @Transactional(isolation=REPEATABLE_READ, readOnly=true) public org.springframework.http.ResponseEntity<List<RestJob>> getJobs(String state, Long orderId, Long recordFrom, Long recordTo, Boolean logs, String[] orderBy, org.springframework.http.HttpHeaders httpHeaders)
      Get production planner jobs, optionally filtered by job state and/or order ID
      Angegeben von:
      getJobs in Schnittstelle JobController
      Parameter:
      state - the job state to filter by (optional)
      orderId - the order ID to filter by (optional)
      recordFrom - first record of filtered and ordered result to return (optional; mandatory if "recordTo" is given)
      recordTo - last record of filtered and ordered result to return (optional)
      orderBy - an array of strings containing a column name and an optional sort direction (ASC/DESC), separated by white space
      Gibt zurück:
      a list of JSON objects describing jobs
    • countJobs

      @Transactional(isolation=REPEATABLE_READ, readOnly=true) public org.springframework.http.ResponseEntity<String> countJobs(String state, Long orderId, org.springframework.http.HttpHeaders httpHeaders)
      Get production planner number of jobs by order id and state
      Angegeben von:
      countJobs in Schnittstelle JobController
      Parameter:
      state - state of jobs
      orderId - order id of jobs
      Gibt zurück:
      number of jobs
    • getJob

      @Transactional(isolation=REPEATABLE_READ) public org.springframework.http.ResponseEntity<RestJob> getJob(String jobId, org.springframework.http.HttpHeaders httpHeaders)
      Beschreibung aus Schnittstelle kopiert: JobController
      Get production planner job
      Angegeben von:
      getJob in Schnittstelle JobController
    • graphJobSteps

      @Transactional(isolation=REPEATABLE_READ, readOnly=true) public org.springframework.http.ResponseEntity<RestJobGraph> graphJobSteps(String jobId, org.springframework.http.HttpHeaders httpHeaders)
      Beschreibung aus Schnittstelle kopiert: JobController
      Dependencies of all job steps of job
      Angegeben von:
      graphJobSteps in Schnittstelle JobController
    • resumeJob

      public org.springframework.http.ResponseEntity<RestJob> resumeJob(String jobId, org.springframework.http.HttpHeaders httpHeaders)
      Beschreibung aus Schnittstelle kopiert: JobController
      Resume job of id
      Angegeben von:
      resumeJob in Schnittstelle JobController
    • cancelJob

      public org.springframework.http.ResponseEntity<RestJob> cancelJob(String jobId, org.springframework.http.HttpHeaders httpHeaders)
      Beschreibung aus Schnittstelle kopiert: JobController
      Cancel job of id
      Angegeben von:
      cancelJob in Schnittstelle JobController
    • suspendJob

      public org.springframework.http.ResponseEntity<RestJob> suspendJob(String jobId, Boolean forceP, org.springframework.http.HttpHeaders httpHeaders)
      Beschreibung aus Schnittstelle kopiert: JobController
      Suspend job of id
      Angegeben von:
      suspendJob in Schnittstelle JobController
    • retryJob

      public org.springframework.http.ResponseEntity<RestJob> retryJob(String id, org.springframework.http.HttpHeaders httpHeaders)
      Beschreibung aus Schnittstelle kopiert: JobController
      Retry job of id
      Angegeben von:
      retryJob in Schnittstelle JobController