public enum PolicyType extends Enum<PolicyType>
| Enum Constant and Description |
|---|
ACCOUNT
Account policy like:
password expire time, change password at first access, ...
|
GLOBAL_ACCOUNT |
GLOBAL_PASSWORD |
GLOBAL_PUSH |
GLOBAL_SYNC |
PASSWORD
Password policy regarding password syntax.
|
PUSH
PUSH policy regarding account conflicts resolution.
|
SYNC
SYNC policy regarding account conflicts resolution.
|
| Modifier and Type | Method and Description |
|---|---|
static PolicyType |
fromString(String value) |
String |
getDescription() |
static PolicyType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PolicyType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PolicyType ACCOUNT
public static final PolicyType GLOBAL_ACCOUNT
public static final PolicyType PASSWORD
public static final PolicyType GLOBAL_PASSWORD
public static final PolicyType SYNC
public static final PolicyType GLOBAL_SYNC
public static final PolicyType PUSH
public static final PolicyType GLOBAL_PUSH
public static PolicyType[] values()
for (PolicyType c : PolicyType.values()) System.out.println(c);
public static PolicyType 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 String getDescription()
public static PolicyType fromString(String value)
Copyright © 2010–2018 The Apache Software Foundation. All rights reserved.