Interface CAI1LocationMatch
- All Superinterfaces:
com.io7m.cedarbridge.runtime.api.CBSerializableType
- All Known Implementing Classes:
CAI1LocationMatch.CAI1LocationAny,CAI1LocationMatch.CAI1LocationExact,CAI1LocationMatch.CAI1LocationWithDescendants
public sealed interface CAI1LocationMatch
extends com.io7m.cedarbridge.runtime.api.CBSerializableType
permits CAI1LocationMatch.CAI1LocationExact, CAI1LocationMatch.CAI1LocationWithDescendants, CAI1LocationMatch.CAI1LocationAny
The behaviour requested for matching locations.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final recordConsider all locations.static final recordOnly consider the exact given location.static final recordConsider the given location and all descendants of the given location. -
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic CAI1LocationMatchdeserialize(com.io7m.cedarbridge.runtime.api.CBSerializationContextType $context) Deserialize a value of type CAI1LocationMatch.static voidserialize(com.io7m.cedarbridge.runtime.api.CBSerializationContextType $context, CAI1LocationMatch $x) Serialize a value of type CAI1LocationMatch.
-
Method Details
-
serialize
static void serialize(com.io7m.cedarbridge.runtime.api.CBSerializationContextType $context, CAI1LocationMatch $x) throws IOException Serialize a value of type CAI1LocationMatch.- Parameters:
$context- The serialization context.$x- The value to be serialized.- Throws:
IOException
-
deserialize
static CAI1LocationMatch deserialize(com.io7m.cedarbridge.runtime.api.CBSerializationContextType $context) throws IOException Deserialize a value of type CAI1LocationMatch.- Parameters:
$context- The serialization context.- Returns:
- A value of type CAI1LocationMatch.
- Throws:
IOException
-