Class TrackingEventJsonValidator
java.lang.Object
de.hybris.eventtracking.services.validators.TrackingEventJsonValidator
-
Constructor Summary
ConstructorsConstructorDescriptionTrackingEventJsonValidator(com.fasterxml.jackson.databind.ObjectMapper mapper, org.springframework.core.io.Resource eventTrackingSchema) -
Method Summary
Modifier and TypeMethodDescriptionstatic voidsafeClose(InputStream inputStream) com.github.fge.jsonschema.core.report.ProcessingReport
-
Constructor Details
-
TrackingEventJsonValidator
public TrackingEventJsonValidator(com.fasterxml.jackson.databind.ObjectMapper mapper, org.springframework.core.io.Resource eventTrackingSchema) throws com.github.fge.jsonschema.core.exceptions.ProcessingException, IOException - Throws:
com.github.fge.jsonschema.core.exceptions.ProcessingExceptionIOException
-
-
Method Details
-
safeClose
-
validate
public com.github.fge.jsonschema.core.report.ProcessingReport validate(String rawTrackingEvent) throws IOException, com.github.fge.jsonschema.core.exceptions.ProcessingException - Throws:
IOExceptioncom.github.fge.jsonschema.core.exceptions.ProcessingException
-