Uses of Enum Class
io.github.pimak.ntfy.core.AlertLevel
Packages that use AlertLevel
-
Uses of AlertLevel in io.github.pimak.ntfy.core
Methods in io.github.pimak.ntfy.core that return AlertLevelModifier and TypeMethodDescriptionAlertEvent.level()Returns the value of thelevelrecord component.static AlertLevelReturns the enum constant of this class with the specified name.static AlertLevel[]AlertLevel.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in io.github.pimak.ntfy.core with parameters of type AlertLevelModifier and TypeMethodDescriptionAlertEvent.withLevel(AlertLevel level) Returns a copy of this event onlevel, leaving every other component untouched.Constructors in io.github.pimak.ntfy.core with parameters of type AlertLevelModifierConstructorDescriptionAlertEvent(String loggerName, String formattedMessage, long timestampMillis, List<AlertEvent.Cause> causeChain, List<String> rootCauseFrames, Set<String> markerNames, Map<String, String> mdcValues, AlertLevel level) Validates the mandatory fields and normalizes the optional collections so every construction path — directnew, theAlertEvent.of(java.lang.String, java.lang.String, long)factory, or an adapter — yields a null-free, defensively copied event.