Package org.everit.json.schema.event
Class ConditionalSchemaMismatchEvent
- java.lang.Object
-
- org.everit.json.schema.event.ValidationEvent<ConditionalSchema>
-
- org.everit.json.schema.event.ConditionalSchemaValidationEvent
-
- org.everit.json.schema.event.ConditionalSchemaMismatchEvent
-
- All Implemented Interfaces:
MismatchEvent
public class ConditionalSchemaMismatchEvent extends ConditionalSchemaValidationEvent implements MismatchEvent
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.everit.json.schema.event.ConditionalSchemaValidationEvent
ConditionalSchemaValidationEvent.Keyword
-
-
Field Summary
-
Fields inherited from class org.everit.json.schema.event.ValidationEvent
instance, schema
-
-
Constructor Summary
Constructors Constructor Description ConditionalSchemaMismatchEvent(ConditionalSchema schema, Object instance, ConditionalSchemaValidationEvent.Keyword keyword, ValidationException failure)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
ValidationException
getFailure()
int
hashCode()
-
Methods inherited from class org.everit.json.schema.event.ConditionalSchemaValidationEvent
getKeyword
-
Methods inherited from class org.everit.json.schema.event.ValidationEvent
getSchema, toJSON, toString
-
-
-
-
Constructor Detail
-
ConditionalSchemaMismatchEvent
public ConditionalSchemaMismatchEvent(ConditionalSchema schema, Object instance, ConditionalSchemaValidationEvent.Keyword keyword, ValidationException failure)
-
-
Method Detail
-
getFailure
public ValidationException getFailure()
- Specified by:
getFailure
in interfaceMismatchEvent
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classConditionalSchemaValidationEvent
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classConditionalSchemaValidationEvent
-
-