com.aspose.email

Interfaces

Classes

Enums

Exceptions

com.aspose.email

Class CommandStatus



  • public class CommandStatus
    extends Object

    Indicates the result of an operation.

    • Field Detail

      • statusCodefield

        protected int statusCodefield

        Contains status code

      • descriptionfield

        protected String descriptionfield

        Contains status description

    • Constructor Detail

      • CommandStatus

        public CommandStatus(int statusCode,
                     String description)

        Initializes a new instance of the Status class.

        Parameters:
        statusCode - Contains status code
        description - Contains status description
    • Method Detail

      • getDescription

        public String getDescription()

        Contains status description

      • getStatusCode

        public int getStatusCode()

        Contains status code

      • toString

        public String toString()

        Returns a string that represents the current object.

        Overrides:
        toString in class Object
        Returns:
        A string that represents the current object.
      • hashCode

        public int hashCode()

        Serves as a hash function for a particular type.

        Overrides:
        hashCode in class Object
        Returns:
        A hash code for the current Object.
      • equals

        public boolean equals(Object obj)

        Determines whether the specified object is equal to the current object.

        Overrides:
        equals in class Object
        Parameters:
        obj - The object to compare with the current object.
        Returns:
        true if the specified object is equal to the current object; otherwise, false.