Class SchemaRegistryMetadata

java.lang.Object
io.confluent.kafka.schemaregistry.validator.licensing.entities.SchemaRegistryMetadata

public class SchemaRegistryMetadata extends Object
Container class for Schema Registry metadata including license and version information.
  • Constructor Details

    • SchemaRegistryMetadata

      public SchemaRegistryMetadata(List<LocalV1License> licenses, String version)
      Creates a new SchemaRegistryMetadata instance.
      Parameters:
      licenses - List of LocalV1License entities for this Schema Registry
      version - Version string of the Schema Registry
  • Method Details

    • getLicenses

      public List<LocalV1License> getLicenses()
      Returns:
      List of LocalV1License entities
    • getVersion

      public String getVersion()
      Returns:
      Version string
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object