Class TrackingEventJsonValidator

java.lang.Object
de.hybris.eventtracking.services.validators.TrackingEventJsonValidator

public class TrackingEventJsonValidator extends Object
  • 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.ProcessingException
      IOException
  • Method Details

    • safeClose

      public static void safeClose(InputStream inputStream)
    • validate

      public com.github.fge.jsonschema.core.report.ProcessingReport validate(String rawTrackingEvent) throws IOException, com.github.fge.jsonschema.core.exceptions.ProcessingException
      Throws:
      IOException
      com.github.fge.jsonschema.core.exceptions.ProcessingException