Class ApicurioRegistryClient.SchemaRegistrationResponse
java.lang.Object
ai.pipestream.registration.repository.ApicurioRegistryClient.SchemaRegistrationResponse
- Enclosing class:
ApicurioRegistryClient
Result of registering a schema in Apicurio Registry, capturing the artifact ID,
the assigned global ID, and the version that was stored.
-
Constructor Summary
ConstructorsConstructorDescriptionSchemaRegistrationResponse(String artifactId, Long globalId, String version) Creates a registration response. -
Method Summary
Modifier and TypeMethodDescriptionReturns the artifact ID the schema was registered under.Returns the global ID assigned by Apicurio.Returns the version that was stored.
-
Constructor Details
-
SchemaRegistrationResponse
Creates a registration response.- Parameters:
artifactId- the artifact ID the schema was registered underglobalId- the global ID assigned by Apicurio, ornullwhen an existing registration was reusedversion- the version that was stored
-
-
Method Details
-
getArtifactId
Returns the artifact ID the schema was registered under.- Returns:
- the artifact ID
-
getGlobalId
Returns the global ID assigned by Apicurio.- Returns:
- the global ID, or
nullwhen an existing registration was reused
-
getVersion
-