public class FixedValueRevisionResolver extends Object implements RevisionResolver
|Constructor and Description|
Initializes the FixedValueRevisionResolver to always return the given
|Modifier and Type||Method and Description|
Returns the revision for the given
public FixedValueRevisionResolver(String revision)
revision, when asked.
revision- The revision to return
payloadType. The revision is used by upcasters to decide whether they need to process a certain serialized event. Generally, the revision needs to be modified each time the structure of an event has been changed in an incompatible manner.
Copyright © 2010–2020. All rights reserved.