Enum AdDirSyncResponseFlag

    • Enum Constant Detail

      • LDAP_DIRSYNC_OBJECT_SECURITY

        public static final AdDirSyncResponseFlag LDAP_DIRSYNC_OBJECT_SECURITY
        The Object Security flag
      • LDAP_DIRSYNC_ANCESTORS_FIRST_ORDER

        public static final AdDirSyncResponseFlag LDAP_DIRSYNC_ANCESTORS_FIRST_ORDER
        The Ancestors First Order flag
      • LDAP_DIRSYNC_PUBLIC_DATA_ONLY

        public static final AdDirSyncResponseFlag LDAP_DIRSYNC_PUBLIC_DATA_ONLY
        The Public Data Only flag
      • LDAP_DIRSYNC_INCREMENTAL_VALUES

        public static final AdDirSyncResponseFlag LDAP_DIRSYNC_INCREMENTAL_VALUES
        The Incremental Values flag
    • Method Detail

      • values

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

        public static AdDirSyncResponseFlag 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
      • getValue

        public int getValue()
        Returns:
        The associated value of a given flag
      • getFlags

        public static Set<AdDirSyncResponseFlag> getFlags​(int value)
        Get back the combination of flags associated with a given value
        Parameters:
        value - The integer value
        Returns:
        a set of all flags associated with the integer value
      • getBitmask

        public static int getBitmask​(Set<AdDirSyncResponseFlag> flags)
        Get back the bitmask (as an integer) associated with the given flags
        Parameters:
        flags - The AdDirSync flags
        Returns:
        a bitmask in integer form associated with the set of flags