Enum Permission

  • All Implemented Interfaces:
    java.io.Serializable , kotlin.Comparable

    
    public enum Permission
    extends Enum<Permission>
                        

    Class to represent the different permissions in the RADAR platform. A permission has an entity and an operation.

    • Constructor Detail

    • Method Detail

      • scope

         final String scope()

        Turn this permission into an OAuth scope name and return it.

      • valueOf

         final Permission valueOf(String value)

        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.)

      • values

         final Array<Permission> values()

        Returns an array containing the constants of this enum type, in the order they're declared.

        This method may be used to iterate over the constants.