Class RemoteResultMessage

  • All Implemented Interfaces:
    Serializable

    public class RemoteResultMessage
    extends Object
    implements Serializable
    The result of a task execution
    Author:
    Charles Edward Bedon Cortazar <charles.bedon@kuwaiba.org>
    See Also:
    Serialized Form
    • Field Detail

      • STATUS_ERROR

        public static final int STATUS_ERROR
        The task resulted in error. The consumer should check the errorMessage for details
        See Also:
        Constant Field Values
      • STATUS_SUCCESS

        public static final int STATUS_SUCCESS
        The execution was successful
        See Also:
        Constant Field Values
      • STATUS_WARNING

        public static final int STATUS_WARNING
        The execution had non-blocking errors. There will be messages, but also an error message
        See Also:
        Constant Field Values
    • Constructor Detail

      • RemoteResultMessage

        public RemoteResultMessage​(int messagetType,
                                   String message)
    • Method Detail

      • getMessage

        public String getMessage()
      • setMessage

        public void setMessage​(String message)
      • getMessageType

        public int getMessageType()
      • setMessageType

        public void setMessageType​(int messageType)