@Generated(value="org.jsonschema2pojo") public static enum ContentSecurityPolicyBean.Mode extends Enum<ContentSecurityPolicyBean.Mode>
| Enum Constant and Description |
|---|
DISABLED |
ENABLED |
REPORT_ONLY |
| Modifier and Type | Method and Description |
|---|---|
static ContentSecurityPolicyBean.Mode |
fromValue(String value) |
String |
toString() |
static ContentSecurityPolicyBean.Mode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ContentSecurityPolicyBean.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ContentSecurityPolicyBean.Mode ENABLED
public static final ContentSecurityPolicyBean.Mode REPORT_ONLY
public static final ContentSecurityPolicyBean.Mode DISABLED
public static ContentSecurityPolicyBean.Mode[] values()
for (ContentSecurityPolicyBean.Mode c : ContentSecurityPolicyBean.Mode.values()) System.out.println(c);
public static ContentSecurityPolicyBean.Mode 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 toString()
toString in class Enum<ContentSecurityPolicyBean.Mode>public static ContentSecurityPolicyBean.Mode fromValue(String value)
Copyright © 2014–2016 JBoss, a division of Red Hat. All rights reserved.