Package io.sentry
Class CombinedContextsView
java.lang.Object
io.sentry.protocol.Contexts
io.sentry.CombinedContextsView
- All Implemented Interfaces:
JsonSerializable
-
Nested Class Summary
Nested classes/interfaces inherited from class io.sentry.protocol.Contexts
Contexts.Deserializer
-
Field Summary
Fields inherited from class io.sentry.protocol.Contexts
REPLAY_ID, responseLock
-
Constructor Summary
ConstructorDescriptionCombinedContextsView
(@NotNull Contexts globalContexts, @NotNull Contexts isolationContexts, @NotNull Contexts currentContexts, @NotNull ScopeType defaultScopeType) -
Method Summary
Modifier and TypeMethodDescriptionboolean
containsKey
(@NotNull Object key) entrySet()
@Nullable Object
@Nullable App
getApp()
@Nullable Browser
@Nullable Device
@Nullable Gpu
getGpu()
@Nullable OperatingSystem
@Nullable Response
@Nullable SentryRuntime
int
getSize()
@Nullable SpanContext
getTrace()
boolean
isEmpty()
@NotNull Enumeration<String>
keys()
@Nullable Object
@Nullable Object
void
serialize
(@NotNull ObjectWriter writer, @NotNull ILogger logger) void
void
setBrowser
(@NotNull Browser browser) void
void
void
setOperatingSystem
(@NotNull OperatingSystem operatingSystem) void
setResponse
(@NotNull Response response) void
setRuntime
(@NotNull SentryRuntime runtime) void
setTrace
(@NotNull SpanContext traceContext) int
size()
void
withResponse
(HintUtils.SentryConsumer<Response> callback)
-
Constructor Details
-
CombinedContextsView
-
-
Method Details
-
getTrace
-
setTrace
-
getApp
-
setApp
-
getBrowser
- Overrides:
getBrowser
in classContexts
-
setBrowser
- Overrides:
setBrowser
in classContexts
-
getDevice
-
setDevice
-
getOperatingSystem
- Overrides:
getOperatingSystem
in classContexts
-
setOperatingSystem
- Overrides:
setOperatingSystem
in classContexts
-
getRuntime
- Overrides:
getRuntime
in classContexts
-
setRuntime
- Overrides:
setRuntime
in classContexts
-
getGpu
-
setGpu
-
getResponse
- Overrides:
getResponse
in classContexts
-
withResponse
- Overrides:
withResponse
in classContexts
-
setResponse
- Overrides:
setResponse
in classContexts
-
size
public int size() -
getSize
public int getSize() -
isEmpty
public boolean isEmpty() -
containsKey
- Overrides:
containsKey
in classContexts
-
get
-
put
-
remove
-
keys
-
entrySet
-
serialize
public void serialize(@NotNull @NotNull ObjectWriter writer, @NotNull @NotNull ILogger logger) throws IOException - Specified by:
serialize
in interfaceJsonSerializable
- Overrides:
serialize
in classContexts
- Throws:
IOException
-