public interface SerializationProfile
Modifier and Type | Method and Description |
---|---|
List<Classes> |
getClasses() |
List<Classes> |
getClassExclusions()
Configuring
getClassExclusions() enables excluding specified classes from serialization. |
List<Classes> |
getClassFacades()
Configuring
getClassFacades() enables facading specified classes at serialization. |
List<Fields> |
getFieldExclusions()
Configuring
getFieldExclusions() enables excluding specified fields from serialization. |
List<Fields> |
getFieldFacades()
Configuring
getFieldFacades() enables facading specified fields at serialization. |
List<Fields> |
getGlobalFields()
Configuring
getGlobalFields() enables to extend serialization by global/static fields. |
List<Methods> |
getInputs()
Configuring
getInputs() enables to extend serialization by input methods. |
List<Methods> |
getOutputs()
Configuring
getOutputs() enables to extend serialization by output methods. |
List<Methods> |
getRecorded()
Configuring
getRecorded() enables to extend serialization by recorded methods. |
List<Fields> getFieldExclusions()
getFieldExclusions()
enables excluding specified fields from serialization. Exclude fields
from serializationif they are irrelevant or not easily serialized.
Fields
provides some default predicates to put into this list.List<Fields> getFieldFacades()
getFieldFacades()
enables facading specified fields at serialization. Facading means that a stub of
the instance is recorded, but the internal state is skipped. Facade fields if their internal state is not relevant
(yet their behavior may be).
Fields
provides some default predicates to put into this list.List<Classes> getClassExclusions()
getClassExclusions()
enables excluding specified classes from serialization. Exclude classes
from serialization if they are irrelevant or not easily serialized.
Classes
provides some default predicates to put into this list.List<Classes> getClassFacades()
getClassFacades()
enables facading specified classes at serialization. Facading means that a stub of
the instance is recorded, but the internal state is skipped. Facade classes if their internal state is not relevant
(yet their behavior may be).
Classes
provides some default predicates to put into this list.List<Fields> getGlobalFields()
getGlobalFields()
enables to extend serialization by global/static fields. Global/Static
fields are not tracked by default and must be added to the configuration if needed.
Fields
provides some default predicates to specify global variables/static fields.Global
List<Methods> getInputs()
getInputs()
enables to extend serialization by input methods.
We define input as state that is dependent on sources not controlled by the JVM (e.g. filesystem, webservices,
random numbers, date/time). Methods that provide such input as arguments or results can be specified as input methods
by adding a specification to this list.
Methods
provides some default predicates to specify methods that provide input.Input
List<Methods> getOutputs()
getOutputs()
enables to extend serialization by output methods.
We define output as state that is consumed by systems not controlled by the JVM (e.g. filesystem, webservices, browser).
Methods that consume such output as arguments can be specified as output methods by adding a specification to this list.
Methods
provides some default predicates to specify methods that provide input.Output
List<Methods> getRecorded()
getRecorded()
enables to extend serialization by recorded methods.
Methods
provides some default predicates to specify methods that provide input.Recorded
Copyright © 2020. All rights reserved.