Class Contexts

  • All Implemented Interfaces:
    java.io.Serializable, java.util.concurrent.ConcurrentMap<java.lang.String,​java.lang.Object>, java.util.Map<java.lang.String,​java.lang.Object>

    public final class Contexts
    extends java.util.concurrent.ConcurrentHashMap<java.lang.String,​java.lang.Object>
    See Also:
    Serialized Form
    • Nested Class Summary

      • Nested classes/interfaces inherited from class java.util.concurrent.ConcurrentHashMap

        java.util.concurrent.ConcurrentHashMap.KeySetView<K extends java.lang.Object,​V extends java.lang.Object>
      • Nested classes/interfaces inherited from class java.util.AbstractMap

        java.util.AbstractMap.SimpleEntry<K extends java.lang.Object,​V extends java.lang.Object>, java.util.AbstractMap.SimpleImmutableEntry<K extends java.lang.Object,​V extends java.lang.Object>
      • Nested classes/interfaces inherited from interface java.util.Map

        java.util.Map.Entry<K extends java.lang.Object,​V extends java.lang.Object>
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      @Nullable App getApp()  
      @Nullable Browser getBrowser()  
      @Nullable Device getDevice()  
      @Nullable Gpu getGpu()  
      @Nullable OperatingSystem getOperatingSystem()  
      @Nullable SentryRuntime getRuntime()  
      @Nullable SpanContext getTrace()  
      void setApp​(@NotNull App app)  
      void setBrowser​(@NotNull Browser browser)  
      void setDevice​(@NotNull Device device)  
      void setGpu​(@NotNull Gpu gpu)  
      void setOperatingSystem​(@NotNull OperatingSystem operatingSystem)  
      void setRuntime​(@NotNull SentryRuntime runtime)  
      void setTrace​(@Nullable SpanContext traceContext)  
      • Methods inherited from class java.util.concurrent.ConcurrentHashMap

        clear, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, forEach, forEach, forEachEntry, forEachEntry, forEachKey, forEachKey, forEachValue, forEachValue, get, getOrDefault, hashCode, isEmpty, keys, keySet, keySet, mappingCount, merge, newKeySet, newKeySet, put, putAll, putIfAbsent, reduce, reduceEntries, reduceEntries, reduceEntriesToDouble, reduceEntriesToInt, reduceEntriesToLong, reduceKeys, reduceKeys, reduceKeysToDouble, reduceKeysToInt, reduceKeysToLong, reduceToDouble, reduceToInt, reduceToLong, reduceValues, reduceValues, reduceValuesToDouble, reduceValuesToInt, reduceValuesToLong, remove, remove, replace, replace, replaceAll, search, searchEntries, searchKeys, searchValues, size, toString, values
      • Methods inherited from class java.util.AbstractMap

        clone
      • Methods inherited from class java.lang.Object

        finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • Contexts

        public Contexts()
      • Contexts

        public Contexts​(@NotNull
                        @NotNull Contexts contexts)
    • Method Detail

      • getTrace

        @Nullable
        public @Nullable SpanContext getTrace()
      • setTrace

        public void setTrace​(@Nullable
                             @Nullable SpanContext traceContext)
      • getApp

        @Nullable
        public @Nullable App getApp()
      • setApp

        public void setApp​(@NotNull
                           @NotNull App app)
      • getBrowser

        @Nullable
        public @Nullable Browser getBrowser()
      • setBrowser

        public void setBrowser​(@NotNull
                               @NotNull Browser browser)
      • getDevice

        @Nullable
        public @Nullable Device getDevice()
      • setDevice

        public void setDevice​(@NotNull
                              @NotNull Device device)
      • getOperatingSystem

        @Nullable
        public @Nullable OperatingSystem getOperatingSystem()
      • setOperatingSystem

        public void setOperatingSystem​(@NotNull
                                       @NotNull OperatingSystem operatingSystem)
      • getRuntime

        @Nullable
        public @Nullable SentryRuntime getRuntime()
      • setRuntime

        public void setRuntime​(@NotNull
                               @NotNull SentryRuntime runtime)
      • getGpu

        @Nullable
        public @Nullable Gpu getGpu()
      • setGpu

        public void setGpu​(@NotNull
                           @NotNull Gpu gpu)