Package io.sentry

Class SentryAttribute

java.lang.Object
io.sentry.SentryAttribute

public final class SentryAttribute extends Object
  • Method Details

    • getName

      @NotNull public @NotNull String getName()
    • getType

      @Nullable public @Nullable SentryAttributeType getType()
    • getValue

      @Nullable public @Nullable Object getValue()
    • named

      @NotNull public static @NotNull SentryAttribute named(@NotNull @NotNull String name, @Nullable @Nullable Object value)
    • booleanAttribute

      @NotNull public static @NotNull SentryAttribute booleanAttribute(@NotNull @NotNull String name, @Nullable @Nullable Boolean value)
    • integerAttribute

      @NotNull public static @NotNull SentryAttribute integerAttribute(@NotNull @NotNull String name, @Nullable @Nullable Integer value)
    • doubleAttribute

      @NotNull public static @NotNull SentryAttribute doubleAttribute(@NotNull @NotNull String name, @Nullable @Nullable Double value)
    • stringAttribute

      @NotNull public static @NotNull SentryAttribute stringAttribute(@NotNull @NotNull String name, @Nullable @Nullable String value)