Enum Grant.GrantMechanism

  • All Implemented Interfaces:
    BmcEnum, Serializable, Comparable<Grant.GrantMechanism>
    Enclosing class:
    Grant

    public static enum Grant.GrantMechanism
    extends Enum<Grant.GrantMechanism>
    implements BmcEnum
    Each value of grantMechanism indicates how (or by what component) some App (or App-Entitlement) was granted.

    A customer or the UI should use only grantMechanism values that start with ‘ADMINISTRATOR’: - ‘ADMINISTRATOR_TO_USER’ is for a direct grant to a specific User. - ‘ADMINISTRATOR_TO_GROUP’ is for a grant to a specific Group, which results in indirect grants to Users who are members of that Group. - ‘ADMINISTRATOR_TO_APP’ is for a grant to a specific App. The grantee (client) App gains access to the granted (server) App.

    *SCIM++ Properties:** - caseExact: true - idcsCsvAttributeNameMappings: [[defaultValue:IMPORT_GRANTS]] - idcsSearchable: true - multiValued: false - mutability: immutable - required: true - returned: default - type: string - uniqueness: none

    • Method Detail

      • values

        public static Grant.GrantMechanism[] 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 (Grant.GrantMechanism c : Grant.GrantMechanism.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Grant.GrantMechanism 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