Interface CAI1TypePackageTypeRemovalBehavior
- All Superinterfaces:
com.io7m.cedarbridge.runtime.api.CBSerializableType
- All Known Implementing Classes:
CAI1TypePackageTypeRemovalBehavior.FailIfTypesReferenced,CAI1TypePackageTypeRemovalBehavior.RevokeTypes
public sealed interface CAI1TypePackageTypeRemovalBehavior
extends com.io7m.cedarbridge.runtime.api.CBSerializableType
permits CAI1TypePackageTypeRemovalBehavior.FailIfTypesReferenced, CAI1TypePackageTypeRemovalBehavior.RevokeTypes
The type package type removal behavior.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final recordstatic final record -
Method Summary
Static MethodsModifier and TypeMethodDescriptiondeserialize(com.io7m.cedarbridge.runtime.api.CBSerializationContextType $context) Deserialize a value of type CAI1TypePackageTypeRemovalBehavior.static voidserialize(com.io7m.cedarbridge.runtime.api.CBSerializationContextType $context, CAI1TypePackageTypeRemovalBehavior $x) Serialize a value of type CAI1TypePackageTypeRemovalBehavior.
-
Method Details
-
serialize
static void serialize(com.io7m.cedarbridge.runtime.api.CBSerializationContextType $context, CAI1TypePackageTypeRemovalBehavior $x) throws IOException Serialize a value of type CAI1TypePackageTypeRemovalBehavior.- Parameters:
$context- The serialization context.$x- The value to be serialized.- Throws:
IOException
-
deserialize
static CAI1TypePackageTypeRemovalBehavior deserialize(com.io7m.cedarbridge.runtime.api.CBSerializationContextType $context) throws IOException Deserialize a value of type CAI1TypePackageTypeRemovalBehavior.- Parameters:
$context- The serialization context.- Returns:
- A value of type CAI1TypePackageTypeRemovalBehavior.
- Throws:
IOException
-