@Incubating public enum SerializableMode extends java.lang.Enum<SerializableMode>
| Enum Constant and Description |
|---|
ACROSS_CLASSLOADERS
Useful if the mock is deserialized in a different classloader / vm.
|
BASIC
Basic serializable mode for mock objects.
|
NONE
No serialization.
|
| Modifier and Type | Method and Description |
|---|---|
static SerializableMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SerializableMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SerializableMode NONE
public static final SerializableMode BASIC
@Incubating public static final SerializableMode ACROSS_CLASSLOADERS
public static SerializableMode[] values()
for (SerializableMode c : SerializableMode.values()) System.out.println(c);
public static SerializableMode valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null