Interface CAI1NameMatch
- All Superinterfaces:
com.io7m.cedarbridge.runtime.api.CBSerializableType
- All Known Implementing Classes:
CAI1NameMatch.CAI1NameMatchAny,CAI1NameMatch.CAI1NameMatchExact,CAI1NameMatch.CAI1NameMatchSearch
public sealed interface CAI1NameMatch
extends com.io7m.cedarbridge.runtime.api.CBSerializableType
permits CAI1NameMatch.CAI1NameMatchAny, CAI1NameMatch.CAI1NameMatchExact, CAI1NameMatch.CAI1NameMatchSearch
An expression against which item names are matched.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final recordstatic final recordstatic final record -
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic CAI1NameMatchdeserialize(com.io7m.cedarbridge.runtime.api.CBSerializationContextType $context) Deserialize a value of type CAI1NameMatch.static voidserialize(com.io7m.cedarbridge.runtime.api.CBSerializationContextType $context, CAI1NameMatch $x) Serialize a value of type CAI1NameMatch.
-
Method Details
-
serialize
static void serialize(com.io7m.cedarbridge.runtime.api.CBSerializationContextType $context, CAI1NameMatch $x) throws IOException Serialize a value of type CAI1NameMatch.- Parameters:
$context- The serialization context.$x- The value to be serialized.- Throws:
IOException
-
deserialize
static CAI1NameMatch deserialize(com.io7m.cedarbridge.runtime.api.CBSerializationContextType $context) throws IOException Deserialize a value of type CAI1NameMatch.- Parameters:
$context- The serialization context.- Returns:
- A value of type CAI1NameMatch.
- Throws:
IOException
-