Package io.camunda.zeebe.protocol.record
Class ValueTypeMapping
java.lang.Object
io.camunda.zeebe.protocol.record.ValueTypeMapping
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classValueTypeMapping.Mapping<T extends RecordValue,I extends Enum<I> & Intent> A mapping between value type, an abstract protocol type extendingRecordValue, and the equivalent intent. -
Method Summary
Modifier and TypeMethodDescriptionstatic ValueTypeMapping.Mapping<?,?> Returns the mapping for the given value type.
-
Method Details
-
get
Returns the mapping for the given value type.- Parameters:
valueType- the value type of the mapping- Returns:
- a mapping from this type to a
RecordValueandIntent - Throws:
IllegalArgumentException- if no such mapping exists
-
getAcceptedValueTypes
- Returns:
- the set of mappable value types
-