Interface SchemaIndex


public interface SchemaIndex
Trusted generated allowlist provider. JPMS consumers explicitly declare a provides directive. Implementations must be immutable and must not construct application values while describing schemas.
  • Method Summary

    Modifier and Type
    Method
    Description
    default int
    Returns the declared contract value.
    Returns the declared contract value.
  • Method Details

    • formatVersion

      default int formatVersion()
      Returns the declared contract value.
      Returns:
      descriptor format version, currently exactly 1
    • schemas

      List<SchemaDescriptor<?>> schemas()
      Returns the declared contract value.
      Returns:
      finite immutable schema descriptors; never null