public enum AdDirSyncFlag extends Enum<AdDirSyncFlag>
Enum Constant and Description |
---|
LDAP_DIRSYNC_ANCESTORS_FIRST_ORDER
The Ancestors First Order flag
|
LDAP_DIRSYNC_INCREMENTAL_VALUES
The Incremental Values flag
|
LDAP_DIRSYNC_OBJECT_SECURITY
The Object Security flag
|
LDAP_DIRSYNC_PUBLIC_DATA_ONLY
The Public Data Only flag
|
Modifier and Type | Method and Description |
---|---|
static int |
getBitmask(Set<AdDirSyncFlag> flags)
Get back the bitmask (as an integer) associated with the given flags
|
static Set<AdDirSyncFlag> |
getFlags(int value)
Get back the combination of flags associated with a given value
|
int |
getValue() |
String |
toString() |
static AdDirSyncFlag |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AdDirSyncFlag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AdDirSyncFlag LDAP_DIRSYNC_OBJECT_SECURITY
public static final AdDirSyncFlag LDAP_DIRSYNC_ANCESTORS_FIRST_ORDER
public static final AdDirSyncFlag LDAP_DIRSYNC_PUBLIC_DATA_ONLY
public static final AdDirSyncFlag LDAP_DIRSYNC_INCREMENTAL_VALUES
public static AdDirSyncFlag[] values()
for (AdDirSyncFlag c : AdDirSyncFlag.values()) System.out.println(c);
public static AdDirSyncFlag valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getValue()
public String toString()
toString
in class Enum<AdDirSyncFlag>
Object.toString()
public static Set<AdDirSyncFlag> getFlags(int value)
value
- The integer valuepublic static int getBitmask(Set<AdDirSyncFlag> flags)
flags
- The AdDirSync flagsCopyright © 2003–2018 The Apache Software Foundation. All rights reserved.