Package 

Interface Client


  • 
    public interface Client
    
                        

    Client interface.

    • Method Summary

      Modifier and Type Method Description
      abstract void send(BacktraceReport report) Send new report to a Backtrace API
      abstract void enableNativeIntegration() Capture unhandled native exceptions (Backtrace database integration is required to enable this feature).
      abstract void addAttribute(Map<String, Object> attributes) Adds new attributes to the client.If the native integration is available and attributes are primitive type,they will be added to the native reports.
      abstract void addAttribute(String key, Object value) Adds new attribute to the client.If the native integration is available and attributes are primitive type,they will be added to the native reports.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • send

         abstract void send(BacktraceReport report)

        Send new report to a Backtrace API

        Parameters:
        report - data which should be send to Backtrace API
      • enableNativeIntegration

         abstract void enableNativeIntegration()

        Capture unhandled native exceptions (Backtrace database integration is required to enable this feature).

      • addAttribute

         abstract void addAttribute(Map<String, Object> attributes)

        Adds new attributes to the client.If the native integration is available and attributes are primitive type,they will be added to the native reports.

        Parameters:
        attributes - client Attributes
      • addAttribute

         abstract void addAttribute(String key, Object value)

        Adds new attribute to the client.If the native integration is available and attributes are primitive type,they will be added to the native reports.

        Parameters:
        key - attribute key
        value - attribute value