
org.everit.json.schema.event.ConditionalSchemaMatchEvent Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of com.liferay.search.experiences.service
Show all versions of com.liferay.search.experiences.service
Liferay Search Experiences Service
The newest version!
package org.everit.json.schema.event;
import org.everit.json.schema.ConditionalSchema;
import org.json.JSONObject;
public class ConditionalSchemaMatchEvent extends ConditionalSchemaValidationEvent {
public ConditionalSchemaMatchEvent(ConditionalSchema schema, Object instance, Keyword keyword) {
super(schema, instance, keyword);
}
@Override void describeTo(JSONObject obj) {
obj.put("type", "match");
obj.put("keyword", keyword.toString());
}
@Override public boolean equals(Object o) {
return canEqual(o) && super.equals(o);
}
@Override boolean canEqual(Object o) {
return o instanceof ConditionalSchemaMatchEvent;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy