Package | Description |
---|---|
net.amygdalum.testrecorder.deserializers | |
net.amygdalum.testrecorder.types | |
net.amygdalum.testrecorder.values |
Modifier and Type | Method and Description |
---|---|
<T extends SerializedRole,S> |
DefaultDeserializerContext.withRole(T role,
Function<T,S> continuation) |
Modifier and Type | Method and Description |
---|---|
<T> Stream<T> |
HintManager.fetch(Class<T> clazz,
SerializedRole role) |
<T> Optional<T> |
DefaultDeserializerContext.getHint(SerializedRole role,
Class<T> clazz) |
<T> Stream<T> |
DefaultDeserializerContext.getHints(SerializedRole role,
Class<T> clazz) |
Modifier and Type | Interface and Description |
---|---|
interface |
SerializedAggregateType |
interface |
SerializedImmutableType |
interface |
SerializedReferenceType |
interface |
SerializedStructuralType |
interface |
SerializedValue
A serialized value.
|
interface |
SerializedValueType |
Modifier and Type | Class and Description |
---|---|
class |
SerializedArgument |
class |
SerializedField |
class |
SerializedResult |
Modifier and Type | Method and Description |
---|---|
<T extends SerializedRole,S> |
DeserializerContext.withRole(T role,
Function<T,S> continuation) |
Modifier and Type | Method and Description |
---|---|
<T> Optional<T> |
DeserializerContext.getHint(SerializedRole role,
Class<T> clazz) |
<T> Stream<T> |
DeserializerContext.getHints(SerializedRole role,
Class<T> clazz) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractSerializedReferenceType |
class |
AbstractSerializedValue |
class |
SerializedArray
Serializing to SerializedArray is restricted to arrays of any variant.
|
class |
SerializedEnum
Serializing to SerializedEnum is restricted to enums.
|
class |
SerializedImmutable<V>
Serializing to SerializedImmutable is restricted to objects of a class that complies with following criteria:
- it is a class with immutable values (like BigInteger, BigDecimal
|
class |
SerializedLambdaObject |
class |
SerializedList
Serializing to SerializedList is restricted to objects of a class that complies with following criteria:
- is a sub class of java.util.List (deserializers can depend on the java.util.Set interface)
- has an empty public default constructor (deserializers potentially call the standard constructor)
- has an add method that is sequence invariant (deserializers potentially call the add method)
Serializing objects not complying to this criteria is possible, just make sure that their exists a custom deserializer for these objects
|
class |
SerializedLiteral
Serializing to SerializedLiteral is only valid for primitive types and non-null Strings.
|
class |
SerializedMap
Serializing to SerializedMap is restricted to objects of a class that complies with following criteria:
- is a sub class of java.util.Map (deserializers can depend on the java.util.Set interface)
- has an empty public default constructor (deserializers potentially call the standard constructor)
- has a put method that is sequence invariant (deserializers potentially call the put method)
Serializing objects not complying to this criteria is possible, just make sure that their exists a custom deserializer for these objects
|
class |
SerializedNull
Serializing to SerializedNull is only valid and strongly recommended for any value that is null.
|
class |
SerializedObject
Serializing to SerializedObject is the default if no other SerializedValue matches.
|
class |
SerializedProxy |
class |
SerializedSet
Serializing to SerializedSet is restricted to objects of a class that complies with following criteria:
- is a sub class of java.util.Set (deserializers can depend on the java.util.Set interface)
- has an empty public default constructor (deserializers potentially call the standard constructor)
- has an add method that is sequence invariant (deserializers potentially call the add method)
Serializing objects not complying to this criteria is possible, just make sure that their exists a custom deserializer for these objects
|
Modifier and Type | Method and Description |
---|---|
static String |
ValuePrinter.print(SerializedRole value) |
Copyright © 2020. All rights reserved.