Class TrackingEventJsonValidator
- java.lang.Object
-
- de.hybris.eventtracking.services.validators.TrackingEventJsonValidator
-
public class TrackingEventJsonValidator extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description TrackingEventJsonValidator(com.fasterxml.jackson.databind.ObjectMapper mapper, org.springframework.core.io.Resource eventTrackingSchema)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.github.fge.jsonschema.core.report.ProcessingReportvalidate(java.lang.String rawTrackingEvent)
-
-
-
Constructor Detail
-
TrackingEventJsonValidator
public TrackingEventJsonValidator(com.fasterxml.jackson.databind.ObjectMapper mapper, org.springframework.core.io.Resource eventTrackingSchema) throws com.github.fge.jsonschema.core.exceptions.ProcessingException, java.io.IOException- Throws:
com.github.fge.jsonschema.core.exceptions.ProcessingExceptionjava.io.IOException
-
-
Method Detail
-
validate
public com.github.fge.jsonschema.core.report.ProcessingReport validate(java.lang.String rawTrackingEvent) throws java.io.IOException, com.github.fge.jsonschema.core.exceptions.ProcessingException- Throws:
java.io.IOExceptioncom.github.fge.jsonschema.core.exceptions.ProcessingException
-
-