Uses of Record Class
io.github.pimak.ntfy.core.AlertEvent.Cause
Packages that use AlertEvent.Cause
-
Uses of AlertEvent.Cause in io.github.pimak.ntfy.core
Methods in io.github.pimak.ntfy.core that return types with arguments of type AlertEvent.CauseModifier and TypeMethodDescriptionAlertEvent.causeChain()Returns the value of thecauseChainrecord component.Constructor parameters in io.github.pimak.ntfy.core with type arguments of type AlertEvent.CauseModifierConstructorDescriptionAlertEvent(String loggerName, String formattedMessage, long timestampMillis, List<AlertEvent.Cause> causeChain, List<String> rootCauseFrames, Set<String> markerNames) The pre-mdcValuescanonical signature, kept as an explicit constructor for compatibility:AlertEventis public API, and preserving the original(String, String, long, List, List, Set)descriptor keeps adapters compiled against an earlier release both source- AND binary-compatible — they keep linking without recompilation.AlertEvent(String loggerName, String formattedMessage, long timestampMillis, List<AlertEvent.Cause> causeChain, List<String> rootCauseFrames, Set<String> markerNames, Map<String, String> mdcValues) The pre-levelsignature, kept as an explicit constructor for compatibility, exactly like the pre-mdcValuesone below: preserving the(String, String, long, List, List, Set, Map)descriptor keeps adapters compiled against an earlier release both source- AND binary-compatible.AlertEvent(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.