Enum Class IIMAPFlag

java.lang.Object
java.lang.Enum<IIMAPFlag>
com.axemble.vdoc.sdk.enums.IIMAPFlag
All Implemented Interfaces:
Serializable, Comparable<IIMAPFlag>, Constable

public enum IIMAPFlag extends Enum<IIMAPFlag>
ANSWERED : indicate if this message has been answered DELETED : set this flag to mark a message as deleted. - Closing the connection removes all messages that are marked for deletion. DRAFT : indicate if the message is a draft message NEW : indicate if the message is new (Clients cannot alter this flag) READ : indicate if the message has been read - This flag is implicitly set by the implementation when the Message's content is returned
  • Enum Constant Details

    • ANSWERED

      public static final IIMAPFlag ANSWERED
    • DELETED

      public static final IIMAPFlag DELETED
    • DRAFT

      public static final IIMAPFlag DRAFT
    • NEW

      public static final IIMAPFlag NEW
    • READ

      public static final IIMAPFlag READ
  • Method Details

    • values

      public static IIMAPFlag[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static IIMAPFlag valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null