public enum AdDirSyncResponseFlag extends Enum<AdDirSyncResponseFlag>
| 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 | Field and Description |
|---|---|
private String |
description
The string description
|
private int |
value
The int value
|
| Modifier and Type | Method and Description |
|---|---|
static int |
getBitmask(Set<AdDirSyncResponseFlag> flags)
Get back the bitmask (as an integer) associated with the given flags
|
static Set<AdDirSyncResponseFlag> |
getFlags(int value)
Get back the combination of flags associated with a given value
|
int |
getValue() |
String |
toString() |
static AdDirSyncResponseFlag |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AdDirSyncResponseFlag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AdDirSyncResponseFlag LDAP_DIRSYNC_OBJECT_SECURITY
public static final AdDirSyncResponseFlag LDAP_DIRSYNC_ANCESTORS_FIRST_ORDER
public static final AdDirSyncResponseFlag LDAP_DIRSYNC_PUBLIC_DATA_ONLY
public static final AdDirSyncResponseFlag LDAP_DIRSYNC_INCREMENTAL_VALUES
private int value
private String description
public static AdDirSyncResponseFlag[] values()
for (AdDirSyncResponseFlag c : AdDirSyncResponseFlag.values()) System.out.println(c);
public static AdDirSyncResponseFlag 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<AdDirSyncResponseFlag>Object.toString()public static Set<AdDirSyncResponseFlag> getFlags(int value)
value - The integer valuepublic static int getBitmask(Set<AdDirSyncResponseFlag> flags)
flags - The AdDirSync flagsCopyright © 2003–2019 The Apache Software Foundation. All rights reserved.