Class ProcessQueueResource


  • @Path("/lumis/portal/processqueue")
    public class ProcessQueueResource
    extends java.lang.Object
    Rest class containing operations related to the process queue tasks.
    Since:
    17.1.0
    Version:
    $Revision$ $Date$
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      javax.ws.rs.core.Response processStatuses​(java.lang.String jsonRequest)
      Method used to verify the status of a process queue task.
      • Methods inherited from class java.lang.Object

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

      • ProcessQueueResource

        public ProcessQueueResource()
    • Method Detail

      • processStatuses

        @POST
        @Path("/process")
        @Consumes("application/json")
        @Produces("application/json")
        public javax.ws.rs.core.Response processStatuses​(java.lang.String jsonRequest)
                                                  throws java.lang.Exception
        Method used to verify the status of a process queue task. It receives a json object containing the list of process ids to verify.
        Parameters:
        jsonRequest - a json containing the list of process ids to verify. Must have the following format: {"process-ids": ["<processId1>", "<processId2>", ...]}
        Returns:
        a json object containing the status of each process. It has the following format: {"<processId1>": { "status": {"code": "<code1>", "name": "<name1>"}}, "<processId2>": { "status": {"code": "<code2>", "name": "<name2>"}}, ...}
        Throws:
        java.lang.Exception
        Since:
        17.1.0