Enum Class ApplicationFlag

java.lang.Object
java.lang.Enum<ApplicationFlag>
com.mewna.catnip.entity.misc.ApplicationFlag
All Implemented Interfaces:
Serializable, Comparable<ApplicationFlag>, Constable

public enum ApplicationFlag extends Enum<ApplicationFlag>
The flags that can be on a application.
Since:
6/22/21.
Author:
lulalaby
  • Enum Constant Details

    • MANAGED_EMOJI

      public static final ApplicationFlag MANAGED_EMOJI
    • GROUP_DM_CREATE

      public static final ApplicationFlag GROUP_DM_CREATE
    • RPC_HAS_CONNECTED

      public static final ApplicationFlag RPC_HAS_CONNECTED
    • GATEWAY_PRESENCE

      public static final ApplicationFlag GATEWAY_PRESENCE
    • GATEWAY_PRESENCE_LIMITED

      public static final ApplicationFlag GATEWAY_PRESENCE_LIMITED
    • GATEWAY_GUILD_MEMBERS

      public static final ApplicationFlag GATEWAY_GUILD_MEMBERS
    • GATEWAY_GUILD_MEMBERS_LIMITED

      public static final ApplicationFlag GATEWAY_GUILD_MEMBERS_LIMITED
    • VERIFICATION_PENDING_GUILD_LIMIT

      public static final ApplicationFlag VERIFICATION_PENDING_GUILD_LIMIT
    • EMBEDDED

      public static final ApplicationFlag EMBEDDED
    • GATEWAY_MESSAGE_CONTENT

      public static final ApplicationFlag GATEWAY_MESSAGE_CONTENT
    • GATEWAY_MESSAGE_CONTENT_LIMITED

      public static final ApplicationFlag GATEWAY_MESSAGE_CONTENT_LIMITED
  • Method Details

    • values

      public static ApplicationFlag[] 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 ApplicationFlag 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
    • toSet

      public static Set<ApplicationFlag> toSet(long asLong)
    • value

      public int value()