Interface CAI1TypePackageVersionBehavior

All Superinterfaces:
com.io7m.cedarbridge.runtime.api.CBSerializableType
All Known Implementing Classes:
CAI1TypePackageVersionBehavior.AllowDowngrades, CAI1TypePackageVersionBehavior.DisallowDowngrades

public sealed interface CAI1TypePackageVersionBehavior extends com.io7m.cedarbridge.runtime.api.CBSerializableType permits CAI1TypePackageVersionBehavior.AllowDowngrades, CAI1TypePackageVersionBehavior.DisallowDowngrades
The type package version behavior.
  • Method Details

    • serialize

      static void serialize(com.io7m.cedarbridge.runtime.api.CBSerializationContextType $context, CAI1TypePackageVersionBehavior $x) throws IOException
      Serialize a value of type CAI1TypePackageVersionBehavior.
      Parameters:
      $context - The serialization context.
      $x - The value to be serialized.
      Throws:
      IOException
    • deserialize

      static CAI1TypePackageVersionBehavior deserialize(com.io7m.cedarbridge.runtime.api.CBSerializationContextType $context) throws IOException
      Deserialize a value of type CAI1TypePackageVersionBehavior.
      Parameters:
      $context - The serialization context.
      Returns:
      A value of type CAI1TypePackageVersionBehavior.
      Throws:
      IOException