@Incubating public enum SerializableMode extends 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(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(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 null