Class ConditionalSchemaWrapper
- java.lang.Object
-
- io.apicurio.registry.rules.compatibility.jsonschema.wrapper.EqualitySchemaWrapper
-
- io.apicurio.registry.rules.compatibility.jsonschema.wrapper.ConditionalSchemaWrapper
-
- All Implemented Interfaces:
SchemaWrapper
public class ConditionalSchemaWrapper extends EqualitySchemaWrapper implements SchemaWrapper
- Author:
- Jakub Senko 'jsenko@redhat.com'
-
-
Constructor Summary
Constructors Constructor Description ConditionalSchemaWrapper(org.everit.json.schema.ConditionalSchema wrapped)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(JsonSchemaWrapperVisitor visitor)
Optional<SchemaWrapper>
getElseSchema()
Optional<SchemaWrapper>
getIfSchema()
Optional<SchemaWrapper>
getThenSchema()
-
Methods inherited from class io.apicurio.registry.rules.compatibility.jsonschema.wrapper.EqualitySchemaWrapper
equals, hashCode
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.apicurio.registry.rules.compatibility.jsonschema.wrapper.SchemaWrapper
getWrapped
-
-
-
-
Method Detail
-
accept
public void accept(JsonSchemaWrapperVisitor visitor)
- Specified by:
accept
in interfaceSchemaWrapper
-
getIfSchema
public Optional<SchemaWrapper> getIfSchema()
-
getThenSchema
public Optional<SchemaWrapper> getThenSchema()
-
getElseSchema
public Optional<SchemaWrapper> getElseSchema()
-
-