public static enum ContentSecurityPolicySetting.ModeEnum extends Enum<ContentSecurityPolicySetting.ModeEnum>
Enum Constant and Description |
---|
ENFORCED |
REPORT_ONLY |
Modifier and Type | Method and Description |
---|---|
static ContentSecurityPolicySetting.ModeEnum |
fromValue(String value) |
String |
getValue() |
String |
toString() |
static ContentSecurityPolicySetting.ModeEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ContentSecurityPolicySetting.ModeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ContentSecurityPolicySetting.ModeEnum ENFORCED
public static final ContentSecurityPolicySetting.ModeEnum REPORT_ONLY
public static ContentSecurityPolicySetting.ModeEnum[] values()
for (ContentSecurityPolicySetting.ModeEnum c : ContentSecurityPolicySetting.ModeEnum.values()) System.out.println(c);
public static ContentSecurityPolicySetting.ModeEnum 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 getValue()
public String toString()
toString
in class Enum<ContentSecurityPolicySetting.ModeEnum>
public static ContentSecurityPolicySetting.ModeEnum fromValue(String value)
Copyright © 2017–2023 Okta. All rights reserved.