public static enum PolicyEnforcerConfig.EnforcementMode extends Enum<PolicyEnforcerConfig.EnforcementMode>
Enum Constant and Description |
---|
DISABLED |
ENFORCING |
PERMISSIVE |
Modifier and Type | Method and Description |
---|---|
static PolicyEnforcerConfig.EnforcementMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PolicyEnforcerConfig.EnforcementMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PolicyEnforcerConfig.EnforcementMode PERMISSIVE
public static final PolicyEnforcerConfig.EnforcementMode ENFORCING
public static final PolicyEnforcerConfig.EnforcementMode DISABLED
public static PolicyEnforcerConfig.EnforcementMode[] values()
for (PolicyEnforcerConfig.EnforcementMode c : PolicyEnforcerConfig.EnforcementMode.values()) System.out.println(c);
public static PolicyEnforcerConfig.EnforcementMode 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 nullCopyright © 2020 JBoss by Red Hat. All rights reserved.