Class TaskFailureInformation


  • public class TaskFailureInformation
    extends Object
    Information about a Task failure.
    • Constructor Detail

      • TaskFailureInformation

        public TaskFailureInformation()
    • Method Detail

      • category

        public ErrorCategory category()
        Get possible values include: 'userError', 'serverError'.
        Returns:
        the category value
      • withCategory

        public TaskFailureInformation withCategory​(ErrorCategory category)
        Set possible values include: 'userError', 'serverError'.
        Parameters:
        category - the category value to set
        Returns:
        the TaskFailureInformation object itself.
      • code

        public String code()
        Get the code value.
        Returns:
        the code value
      • withCode

        public TaskFailureInformation withCode​(String code)
        Set the code value.
        Parameters:
        code - the code value to set
        Returns:
        the TaskFailureInformation object itself.
      • message

        public String message()
        Get the message value.
        Returns:
        the message value
      • withMessage

        public TaskFailureInformation withMessage​(String message)
        Set the message value.
        Parameters:
        message - the message value to set
        Returns:
        the TaskFailureInformation object itself.
      • details

        public List<NameValuePair> details()
        Get the details value.
        Returns:
        the details value
      • withDetails

        public TaskFailureInformation withDetails​(List<NameValuePair> details)
        Set the details value.
        Parameters:
        details - the details value to set
        Returns:
        the TaskFailureInformation object itself.