Package io.sentry
Class Hint
- java.lang.Object
-
- io.sentry.Hint
-
public final class Hint extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Hint()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddAttachment(@Nullable Attachment attachment)voidaddAttachments(@Nullable java.util.List<Attachment> attachments)voidclearAttachments()@Nullable java.lang.Objectget(@NotNull java.lang.String name)<T> TgetAs(@NotNull java.lang.String name, @NotNull java.lang.Class<T> clazz)@NotNull java.util.List<Attachment>getAttachments()@Nullable AttachmentgetScreenshot()voidremove(@NotNull java.lang.String name)voidreplaceAttachments(@Nullable java.util.List<Attachment> attachments)voidset(@NotNull java.lang.String name, @Nullable java.lang.Object hint)voidsetScreenshot(@Nullable Attachment screenshot)static @NotNull HintwithAttachment(@Nullable Attachment attachment)static @NotNull HintwithAttachments(@Nullable java.util.List<Attachment> attachments)
-
-
-
Method Detail
-
withAttachment
@NotNull public static @NotNull Hint withAttachment(@Nullable @Nullable Attachment attachment)
-
withAttachments
@NotNull public static @NotNull Hint withAttachments(@Nullable @Nullable java.util.List<Attachment> attachments)
-
set
public void set(@NotNull @NotNull java.lang.String name, @Nullable @Nullable java.lang.Object hint)
-
get
@Nullable public @Nullable java.lang.Object get(@NotNull @NotNull java.lang.String name)
-
getAs
@Nullable public <T> T getAs(@NotNull @NotNull java.lang.String name, @NotNull @NotNull java.lang.Class<T> clazz)
-
remove
public void remove(@NotNull @NotNull java.lang.String name)
-
addAttachment
public void addAttachment(@Nullable @Nullable Attachment attachment)
-
addAttachments
public void addAttachments(@Nullable @Nullable java.util.List<Attachment> attachments)
-
getAttachments
@NotNull public @NotNull java.util.List<Attachment> getAttachments()
-
replaceAttachments
public void replaceAttachments(@Nullable @Nullable java.util.List<Attachment> attachments)
-
clearAttachments
public void clearAttachments()
-
setScreenshot
public void setScreenshot(@Nullable @Nullable Attachment screenshot)
-
getScreenshot
@Nullable public @Nullable Attachment getScreenshot()
-
-