Class EventReporter

java.lang.Object
com.microsoft.appcenter.event.EventReporter
Direct Known Subclasses:
LocalSocketEventReporter, MemoryEventReporter, StdOutEventReporter

public abstract class EventReporter
extends java.lang.Object
  • Constructor Summary

    Constructors
    Constructor Description
    EventReporter()  
  • Method Summary

    Modifier and Type Method Description
    protected abstract void commit​(Event event)  
    void reportJunit​(EventType eventType, org.junit.runner.Description description, java.lang.Throwable throwable)  
    void reportLabel​(java.lang.String label, java.lang.String screenshotPath, int screenshotOrientation, boolean screenshotRotated)  
    void reportScreenshot​(java.lang.String screenshotPath, int screenshotOrientation, boolean screenshotRotated)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • EventReporter

      public EventReporter()
  • Method Details

    • reportJunit

      public void reportJunit​(EventType eventType, org.junit.runner.Description description, java.lang.Throwable throwable)
    • commit

      protected abstract void commit​(Event event) throws java.io.IOException
      Throws:
      java.io.IOException
    • reportLabel

      public void reportLabel​(java.lang.String label, java.lang.String screenshotPath, int screenshotOrientation, boolean screenshotRotated)
    • reportScreenshot

      public void reportScreenshot​(java.lang.String screenshotPath, int screenshotOrientation, boolean screenshotRotated)