Package omero.api

Interface _JobHandleOperationsNC

    • Method Detail

      • submit_async

        void submit_async​(AMD_JobHandle_submit __cb,
                          Job job)
                   throws ServerError
        Submits a Job and returns its database id. The only fields directly on status which are editable are message, scheduledFor and status. The latter two must be sensible.
        Parameters:
        __cb - The callback object for the operation.
        job - Not null
        Throws:
        ServerError
      • jobMessage_async

        void jobMessage_async​(AMD_JobHandle_jobMessage __cb)
                       throws ServerError
        Returns the current message for job. May be set during processing.
        Parameters:
        __cb - The callback object for the operation.
        Throws:
        ServerError
      • cancelJob_async

        void cancelJob_async​(AMD_JobHandle_cancelJob __cb)
                      throws ServerError
        Marks a job for cancellation. Not every processor will check for the cancelled flag for a running job, but no non-running job will start if it has been cancelled.
        Parameters:
        __cb - The callback object for the operation.
        Throws:
        ServerError
      • setStatus_async

        void setStatus_async​(AMD_JobHandle_setStatus __cb,
                             java.lang.String status)
                      throws ServerError
        Updates the JobStatus for the current job. The previous status is returned as a string. If the status is CANCELLED, this method is equivalent to cancelJob.
        Parameters:
        __cb - The callback object for the operation.
        Throws:
        ServerError
      • setMessage_async

        void setMessage_async​(AMD_JobHandle_setMessage __cb,
                              java.lang.String message)
                       throws ServerError
        Sets the job's message string, and returns the previous value.
        Parameters:
        __cb - The callback object for the operation.
        Throws:
        ServerError