Enum AppGrants.GrantMechanism

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

    public static enum AppGrants.GrantMechanism
    extends Enum<AppGrants.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 - idcsSearchable: true - multiValued: false - mutability: readOnly - required: false - returned: default - type: string - uniqueness: none

    • Method Detail

      • values

        public static AppGrants.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 (AppGrants.GrantMechanism c : AppGrants.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 AppGrants.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