Enum WhitelistType

java.lang.Object
java.lang.Enum<WhitelistType>
com.atlassian.plugins.whitelist.WhitelistType
All Implemented Interfaces:
Serializable, Comparable<WhitelistType>, java.lang.constant.Constable

@PublicApi public enum WhitelistType extends Enum<WhitelistType>
Since:
1.0
  • Enum Constant Details

    • DOMAIN_NAME

      public static final WhitelistType DOMAIN_NAME
    • EXACT_URL

      public static final WhitelistType EXACT_URL
    • WILDCARD_EXPRESSION

      public static final WhitelistType WILDCARD_EXPRESSION
    • REGULAR_EXPRESSION

      public static final WhitelistType REGULAR_EXPRESSION
  • Method Details

    • values

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

      public static WhitelistType valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null