public enum CSPViolationType extends Enum<CSPViolationType>
| Enum Constant and Description |
|---|
TRUSTEDTYPE_POLICY_VIOLATION |
TRUSTEDTYPE_SINK_VIOLATION |
| Modifier and Type | Method and Description |
|---|---|
static CSPViolationType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CSPViolationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CSPViolationType TRUSTEDTYPE_SINK_VIOLATION
public static final CSPViolationType TRUSTEDTYPE_POLICY_VIOLATION
public static CSPViolationType[] values()
for (CSPViolationType c : CSPViolationType.values()) System.out.println(c);
public static CSPViolationType 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 © 2021 Kenan Klisura. All rights reserved.