public enum SerializeCheckStatus extends Enum<SerializeCheckStatus>
| Enum Constant and Description |
|---|
DISABLE
Disable serialize check for all classes
|
STRICT
Only allow classes in allow list, deny if other classes are not in allow list
|
WARN
Only deny danger classes, warn if other classes are not in allow list
|
| Modifier and Type | Method and Description |
|---|---|
int |
level() |
static SerializeCheckStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SerializeCheckStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SerializeCheckStatus DISABLE
public static final SerializeCheckStatus WARN
public static final SerializeCheckStatus STRICT
public static SerializeCheckStatus[] values()
for (SerializeCheckStatus c : SerializeCheckStatus.values()) System.out.println(c);
public static SerializeCheckStatus 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 int level()
Copyright © 2011–2020 The Apache Software Foundation. All rights reserved.