Package io.sentry.protocol
Class SentryStackFrame
- java.lang.Object
-
- io.sentry.protocol.SentryStackFrame
-
- All Implemented Interfaces:
IUnknownPropertiesConsumer
public final class SentryStackFrame extends java.lang.Object implements IUnknownPropertiesConsumer
Holds information about a single stacktrace frame.Each object should contain **at least** a `filename`, `function` or `instruction_addr` attribute. All values are optional, but recommended.
-
-
Constructor Summary
Constructors Constructor Description SentryStackFrame()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
acceptUnknownProperties(@NotNull java.util.Map<java.lang.String,java.lang.Object> unknown)
@Nullable java.lang.String
getAbsPath()
@Nullable java.lang.Integer
getColno()
@Nullable java.lang.String
getContextLine()
@Nullable java.lang.String
getFilename()
@Nullable java.util.List<java.lang.Integer>
getFramesOmitted()
@Nullable java.lang.String
getFunction()
@Nullable java.lang.String
getImageAddr()
@Nullable java.lang.String
getInstructionAddr()
@Nullable java.lang.Integer
getLineno()
@Nullable java.lang.String
getModule()
@Nullable java.lang.String
getPackage()
@Nullable java.lang.String
getPlatform()
@Nullable java.util.List<java.lang.String>
getPostContext()
@Nullable java.util.List<java.lang.String>
getPreContext()
@Nullable java.lang.String
getRawFunction()
@Nullable java.lang.String
getSymbolAddr()
@Nullable java.util.Map<java.lang.String,java.lang.String>
getVars()
@Nullable java.lang.Boolean
isInApp()
@Nullable java.lang.Boolean
isNative()
void
setAbsPath(@Nullable java.lang.String absPath)
void
setColno(@Nullable java.lang.Integer colno)
void
setContextLine(@Nullable java.lang.String contextLine)
void
setFilename(@Nullable java.lang.String filename)
void
setFramesOmitted(@Nullable java.util.List<java.lang.Integer> framesOmitted)
void
setFunction(@Nullable java.lang.String function)
void
setImageAddr(@Nullable java.lang.String imageAddr)
void
setInApp(@Nullable java.lang.Boolean inApp)
void
setInstructionAddr(@Nullable java.lang.String instructionAddr)
void
setLineno(@Nullable java.lang.Integer lineno)
void
setModule(@Nullable java.lang.String module)
void
setNative(@Nullable java.lang.Boolean _native)
void
setPackage(@Nullable java.lang.String _package)
void
setPlatform(@Nullable java.lang.String platform)
void
setPostContext(@Nullable java.util.List<java.lang.String> postContext)
void
setPreContext(@Nullable java.util.List<java.lang.String> preContext)
void
setRawFunction(@Nullable java.lang.String rawFunction)
void
setSymbolAddr(@Nullable java.lang.String symbolAddr)
void
setVars(@Nullable java.util.Map<java.lang.String,java.lang.String> vars)
-
-
-
Method Detail
-
getPreContext
@Nullable public @Nullable java.util.List<java.lang.String> getPreContext()
-
setPreContext
public void setPreContext(@Nullable @Nullable java.util.List<java.lang.String> preContext)
-
getPostContext
@Nullable public @Nullable java.util.List<java.lang.String> getPostContext()
-
setPostContext
public void setPostContext(@Nullable @Nullable java.util.List<java.lang.String> postContext)
-
getVars
@Nullable public @Nullable java.util.Map<java.lang.String,java.lang.String> getVars()
-
setVars
public void setVars(@Nullable @Nullable java.util.Map<java.lang.String,java.lang.String> vars)
-
getFramesOmitted
@Nullable public @Nullable java.util.List<java.lang.Integer> getFramesOmitted()
-
setFramesOmitted
public void setFramesOmitted(@Nullable @Nullable java.util.List<java.lang.Integer> framesOmitted)
-
getFilename
@Nullable public @Nullable java.lang.String getFilename()
-
setFilename
public void setFilename(@Nullable @Nullable java.lang.String filename)
-
getFunction
@Nullable public @Nullable java.lang.String getFunction()
-
setFunction
public void setFunction(@Nullable @Nullable java.lang.String function)
-
getModule
@Nullable public @Nullable java.lang.String getModule()
-
setModule
public void setModule(@Nullable @Nullable java.lang.String module)
-
getLineno
@Nullable public @Nullable java.lang.Integer getLineno()
-
setLineno
public void setLineno(@Nullable @Nullable java.lang.Integer lineno)
-
getColno
@Nullable public @Nullable java.lang.Integer getColno()
-
setColno
public void setColno(@Nullable @Nullable java.lang.Integer colno)
-
getAbsPath
@Nullable public @Nullable java.lang.String getAbsPath()
-
setAbsPath
public void setAbsPath(@Nullable @Nullable java.lang.String absPath)
-
getContextLine
@Nullable public @Nullable java.lang.String getContextLine()
-
setContextLine
public void setContextLine(@Nullable @Nullable java.lang.String contextLine)
-
isInApp
@Nullable public @Nullable java.lang.Boolean isInApp()
-
setInApp
public void setInApp(@Nullable @Nullable java.lang.Boolean inApp)
-
getPackage
@Nullable public @Nullable java.lang.String getPackage()
-
setPackage
public void setPackage(@Nullable @Nullable java.lang.String _package)
-
getPlatform
@Nullable public @Nullable java.lang.String getPlatform()
-
setPlatform
public void setPlatform(@Nullable @Nullable java.lang.String platform)
-
getImageAddr
@Nullable public @Nullable java.lang.String getImageAddr()
-
setImageAddr
public void setImageAddr(@Nullable @Nullable java.lang.String imageAddr)
-
getSymbolAddr
@Nullable public @Nullable java.lang.String getSymbolAddr()
-
setSymbolAddr
public void setSymbolAddr(@Nullable @Nullable java.lang.String symbolAddr)
-
getInstructionAddr
@Nullable public @Nullable java.lang.String getInstructionAddr()
-
setInstructionAddr
public void setInstructionAddr(@Nullable @Nullable java.lang.String instructionAddr)
-
isNative
@Nullable public @Nullable java.lang.Boolean isNative()
-
setNative
public void setNative(@Nullable @Nullable java.lang.Boolean _native)
-
acceptUnknownProperties
@Internal public void acceptUnknownProperties(@NotNull @NotNull java.util.Map<java.lang.String,java.lang.Object> unknown)
- Specified by:
acceptUnknownProperties
in interfaceIUnknownPropertiesConsumer
-
getRawFunction
@Nullable public @Nullable java.lang.String getRawFunction()
-
setRawFunction
public void setRawFunction(@Nullable @Nullable java.lang.String rawFunction)
-
-