public enum PolicyConstraintEnforcementType extends Enum<PolicyConstraintEnforcementType>
Java class for PolicyConstraintEnforcementType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="PolicyConstraintEnforcementType"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="enforce"/> <enumeration value="remediate"/> <enumeration value="report"/> </restriction> </simpleType>
Enum Constant and Description |
---|
ENFORCE
Strictly enforce the policy.
|
REMEDIATE
The operation that attempts to violate the policy will be suspended.
|
REPORT
Policy will not be enforced in any way, the violations will only
be reported.
|
Modifier and Type | Method and Description |
---|---|
static PolicyConstraintEnforcementType |
fromValue(String v) |
String |
value() |
static PolicyConstraintEnforcementType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PolicyConstraintEnforcementType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PolicyConstraintEnforcementType ENFORCE
public static final PolicyConstraintEnforcementType REMEDIATE
public static final PolicyConstraintEnforcementType REPORT
public static PolicyConstraintEnforcementType[] values()
for (PolicyConstraintEnforcementType c : PolicyConstraintEnforcementType.values()) System.out.println(c);
public static PolicyConstraintEnforcementType 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 value()
public static PolicyConstraintEnforcementType fromValue(String v)
Copyright © 2019 Evolveum. All rights reserved.