Interface TaskStatusCodes

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int TASK_FORBIDDEN
      This status code indicates that the current request is forbidden to proceed, but not due to authentication related issues, such as CSRF validation error.
      static int TASK_INTERNAL_ERROR
      This status code indicates that while the Task seems to be properly configured and the input request is well formed, an unexpected error occured.
      static int TASK_MISCONFIGURED
      This status code indicates while that a valid Task was requested and properly formed, the Task itself was misconfigured.
      static int TASK_NOT_FOUND
      This status code indicates that while a Task request was made, it could not be found by any of the Task factories.
      static int TASK_NOT_REQUESTED
      This status code indicates that the Task Processor Controller was invoked, though no Task was requested.
      static int TASK_REQUEST_MALFORMED
      This status code indicates that while a Task request was made, and the Task was located, the request was malformed.
      static int TASK_REQUEST_RESUBMIT
      This status code indicates that the process is taking time on the i-server and the client can resubmit the task to keep the client<->web-server session alive OR perform some other action knowing that the results are not ready yet
      static int TASK_SUCCESS
      This is the success status code.
      static int TASK_UNAUTHORIZED
      This status code indicates that current user is not authorized to execute the requested task.
    • Field Detail

      • TASK_SUCCESS

        static final int TASK_SUCCESS
        This is the success status code. A Task request was made, the request was well-formed and the Task was properly configured.
        See Also:
        Constant Field Values
      • TASK_NOT_REQUESTED

        static final int TASK_NOT_REQUESTED
        This status code indicates that the Task Processor Controller was invoked, though no Task was requested.
        See Also:
        Constant Field Values
      • TASK_NOT_FOUND

        static final int TASK_NOT_FOUND
        This status code indicates that while a Task request was made, it could not be found by any of the Task factories.
        See Also:
        Constant Field Values
      • TASK_UNAUTHORIZED

        static final int TASK_UNAUTHORIZED
        This status code indicates that current user is not authorized to execute the requested task. This might happen if user tries to execute an administrative task with regular task processor while the admin processor should be used.
        See Also:
        Constant Field Values
      • TASK_FORBIDDEN

        static final int TASK_FORBIDDEN
        This status code indicates that the current request is forbidden to proceed, but not due to authentication related issues, such as CSRF validation error.
        See Also:
        Constant Field Values
      • TASK_REQUEST_MALFORMED

        static final int TASK_REQUEST_MALFORMED
        This status code indicates that while a Task request was made, and the Task was located, the request was malformed. This may be the case if any number of required parameters were absent or malformed. This also consists of a class of validation errors, those that cannot be performed by the Task Infrastructure, but by the Task itself. Essentially, these exceptions indicate some form of user error. The Task is properly configured, but due to the input parameters, was unable to complete.
        See Also:
        Constant Field Values
      • TASK_REQUEST_RESUBMIT

        static final int TASK_REQUEST_RESUBMIT
        This status code indicates that the process is taking time on the i-server and the client can resubmit the task to keep the client<->web-server session alive OR perform some other action knowing that the results are not ready yet
        See Also:
        Constant Field Values
      • TASK_INTERNAL_ERROR

        static final int TASK_INTERNAL_ERROR
        This status code indicates that while the Task seems to be properly configured and the input request is well formed, an unexpected error occured. Subsequent attempts (with the same or different parameters) may succeed. A specific error code is included the response to assist the caller in diagnosing the problem.
        See Also:
        Constant Field Values
      • TASK_MISCONFIGURED

        static final int TASK_MISCONFIGURED
        This status code indicates while that a valid Task was requested and properly formed, the Task itself was misconfigured. The Task could not produce a valid response to the request for any number of reasons. The essential fact here is that the Task should no longer be invoked. No amount of user input modifications will produce a valid output.
        See Also:
        Constant Field Values