Enum DancerState

    • Enum Constant Detail

      • NO_TOKEN

        public static final DancerState NO_TOKEN
        The owner has not fetched a token yet, or a previous attempt to fetch it has failed.
      • REFRESHING_TOKEN

        public static final DancerState REFRESHING_TOKEN
        There is already a request executing to refresh the token.
      • HAS_TOKEN

        public static final DancerState HAS_TOKEN
        There is a token present and it is valid to use.
    • Method Detail

      • values

        public static DancerState[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (DancerState c : DancerState.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static DancerState 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