Enum PolicyType
- java.lang.Object
-
- java.lang.Enum<PolicyType>
-
- org.apache.syncope.common.lib.types.PolicyType
-
- All Implemented Interfaces:
Serializable
,Comparable<PolicyType>
public enum PolicyType extends Enum<PolicyType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACCESS
How access policies should be defined.ACCOUNT
How username values should look like.ATTR_RELEASE
How attribute release policies should look like.AUTH
How authentication policies should look like.PASSWORD
How password values should look like.PROPAGATION
For handling propagation behavior.PULL
For handling conflicts resolution during pull.PUSH
For handling conflicts resolution during push.TICKET_EXPIRATION
Controls expiration of access tickets.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description 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.
-
-
-
Enum Constant Detail
-
ACCOUNT
public static final PolicyType ACCOUNT
How username values should look like.
-
PASSWORD
public static final PolicyType PASSWORD
How password values should look like.
-
AUTH
public static final PolicyType AUTH
How authentication policies should look like.
-
ATTR_RELEASE
public static final PolicyType ATTR_RELEASE
How attribute release policies should look like.
-
ACCESS
public static final PolicyType ACCESS
How access policies should be defined.
-
TICKET_EXPIRATION
public static final PolicyType TICKET_EXPIRATION
Controls expiration of access tickets.
-
PROPAGATION
public static final PolicyType PROPAGATION
For handling propagation behavior.
-
PULL
public static final PolicyType PULL
For handling conflicts resolution during pull.
-
PUSH
public static final PolicyType PUSH
For handling conflicts resolution during push.
-
-
Method Detail
-
values
public static PolicyType[] 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 (PolicyType c : PolicyType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PolicyType 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 nameNullPointerException
- if the argument is null
-
-