Class EventUpcasterChain
java.lang.Object
org.axonframework.serialization.upcasting.GenericUpcasterChain<IntermediateEventRepresentation>
org.axonframework.serialization.upcasting.event.EventUpcasterChain
- All Implemented Interfaces:
EventUpcaster,Upcaster<IntermediateEventRepresentation>
public class EventUpcasterChain
extends GenericUpcasterChain<IntermediateEventRepresentation>
implements EventUpcaster
Upcaster chain used to upcast
event representations.
Upcasters expecting different serialized object types may be merged into a single chain, as long as the order of
related upcasters can be guaranteed.- Since:
- 3.0
- Author:
- Rene de Waele
-
Constructor Summary
ConstructorsConstructorDescriptionEventUpcasterChain(List<? extends EventUpcaster> upcasters) Initializes an upcaster chain from the given list of upcasters.EventUpcasterChain(EventUpcaster... upcasters) Initializes an upcaster chain from one or more upcasters. -
Method Summary
Methods inherited from class org.axonframework.serialization.upcasting.GenericUpcasterChain
getUpcasters, upcast
-
Constructor Details
-
EventUpcasterChain
Initializes an upcaster chain from one or more upcasters.- Parameters:
upcasters- the upcasters to chain
-
EventUpcasterChain
Initializes an upcaster chain from the given list of upcasters.- Parameters:
upcasters- the upcasters to chain
-