Package io.sentry
Class MonitorSchedule
java.lang.Object
io.sentry.MonitorSchedule
- All Implemented Interfaces:
JsonSerializable,JsonUnknown
@Experimental
public final class MonitorSchedule
extends Object
implements JsonUnknown, JsonSerializable
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic final class -
Constructor Summary
ConstructorsConstructorDescriptionMonitorSchedule(@NotNull String type, @NotNull String value, @Nullable String unit) -
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull MonitorSchedule@NotNull StringgetType()@Nullable StringgetUnit()@NotNull StringgetValue()static @NotNull MonitorScheduleinterval(@NotNull Integer value, @NotNull MonitorScheduleUnit unit) voidserialize(@NotNull ObjectWriter writer, @NotNull ILogger logger) voidvoidsetUnit(@Nullable MonitorScheduleUnit unit) voidvoidsetUnknown(@Nullable Map<String, Object> unknown) voidvoid
-
Constructor Details
-
MonitorSchedule
-
-
Method Details
-
crontab
-
interval
@NotNull public static @NotNull MonitorSchedule interval(@NotNull @NotNull Integer value, @NotNull @NotNull MonitorScheduleUnit unit) -
getType
-
setType
-
getValue
-
setValue
-
setValue
-
getUnit
-
setUnit
-
setUnit
-
getUnknown
- Specified by:
getUnknownin interfaceJsonUnknown
-
setUnknown
- Specified by:
setUnknownin interfaceJsonUnknown
-
serialize
public void serialize(@NotNull @NotNull ObjectWriter writer, @NotNull @NotNull ILogger logger) throws IOException - Specified by:
serializein interfaceJsonSerializable- Throws:
IOException
-