Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- actions() - Method in interface io.github.pimak.ntfy.quarkus.runtime.NtfyRuntimeConfig
-
Action buttons as a raw ntfy
Actionsheader value (short format, e.g. - actions(List<NtfyAction>) - Method in class io.github.pimak.ntfy.core.NtfyConfig.Builder
-
Sets action buttons from typed
NtfyActions, serialized to the ntfyActionsheader viaNtfyActionSerializer. ntfy caps a notification at three actions; extra entries andnullelements are dropped. - actionsHeader(String) - Method in class io.github.pimak.ntfy.core.NtfyConfig.Builder
-
Sets action buttons from a raw, pre-formatted ntfy
Actionsheader value (the short "simple" format, e.g. - AlertEngine - Class in io.github.pimak.ntfy.core
-
Framework-pure alert engine: the extracted heart of the original Logback
NtfyAlertAppender, decoupled from any logging framework. - AlertEngine(NtfyConfig, Diagnostics) - Constructor for class io.github.pimak.ntfy.core.AlertEngine
- AlertEngine(NtfyConfig, Diagnostics, PipelineCounters) - Constructor for class io.github.pimak.ntfy.core.AlertEngine
-
Constructs an engine sharing an externally-owned
PipelineCounters. - AlertEvent - Record Class in io.github.pimak.ntfy.core
-
Framework-neutral snapshot of a single log event, handed to
AlertEngine.submit(io.github.pimak.ntfy.core.AlertEvent). - AlertEvent(String, String, long, List<AlertEvent.Cause>, List<String>, Set<String>) - Constructor for record class io.github.pimak.ntfy.core.AlertEvent
-
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, String, long, List<AlertEvent.Cause>, List<String>, Set<String>, Map<String, String>) - Constructor for record class io.github.pimak.ntfy.core.AlertEvent
-
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, String, long, List<AlertEvent.Cause>, List<String>, Set<String>, Map<String, String>, AlertLevel) - Constructor for record class io.github.pimak.ntfy.core.AlertEvent
-
Validates the mandatory fields and normalizes the optional collections so every construction path — direct
new, theAlertEvent.of(java.lang.String, java.lang.String, long)factory, or an adapter — yields a null-free, defensively copied event. - AlertEvent.Cause - Record Class in io.github.pimak.ntfy.core
-
One link of an exception chain: the throwable's class name and its message (either may be
nullin degenerate cases, mirroring the source throwable). - AlertLevel - Enum Class in io.github.pimak.ntfy.core
-
The severity of an
AlertEvent, as far as the alerting engine is concerned — the valueAlertEngineroutes on. - allowClasspathEndpoint(boolean) - Method in class io.github.pimak.ntfy.core.NtfyConfig.Builder
-
Explicit opt-in for activating from a classpath-only endpoint URL; see
NtfyConfig.isAllowClasspathEndpoint(). - append(ILoggingEvent) - Method in class io.github.pimak.ntfy.logback.LogbackAlertAppender
-
Gates on level, then maps the event and hands it to the engine, which owns all further gating and publishing.
- append(LogEvent) - Method in class io.github.pimak.ntfy.log4j2.NtfyLog4j2Appender
-
Gates on level, maps the event eagerly, and hands it to the engine, which owns all further gating and publishing.
- APPENDER_NAME - Static variable in class io.github.pimak.ntfy.micronaut.NtfyLogbackInstaller
-
Name of the appender this module manages on the root logger.
- appName() - Method in interface io.github.pimak.ntfy.quarkus.runtime.NtfyRuntimeConfig
-
Application name, used as the title base when
NtfyRuntimeConfig.title()is unset. - appName(String) - Method in class io.github.pimak.ntfy.core.NtfyConfig.Builder
- async() - Method in interface io.github.pimak.ntfy.quarkus.runtime.NtfyRuntimeConfig
-
Asynchronous (offloaded) delivery: individual error alerts are handed to the engine's bounded work queue and published by a daemon worker, so a slow/unreachable ntfy server never blocks the logging thread.
- asyncEnabled(boolean) - Method in class io.github.pimak.ntfy.core.NtfyConfig.Builder
-
Toggles asynchronous (offloaded) delivery of individual error alerts.
- asyncQueueCapacity() - Method in interface io.github.pimak.ntfy.quarkus.runtime.NtfyRuntimeConfig
-
Bounded async delivery queue capacity; only consulted when
NtfyRuntimeConfig.async()istrue. - asyncQueueCapacity(int) - Method in class io.github.pimak.ntfy.core.NtfyConfig.Builder
-
Sets the bounded async delivery queue capacity (see
NtfyConfig.getAsyncQueueCapacity()). - attachLevel() - Method in class io.github.pimak.ntfy.log4j2.NtfyLog4j2Appender
-
The log4j2 level this appender should be ATTACHED at —
WARNonce the engine activated a warn route,ERRORotherwise. - AuthMode - Class in io.github.pimak.ntfy.core
-
Auth strategy for an outbound ntfy publish request, modeled as a sealed hierarchy so each mode carries only the fields it needs and knows how to build its own
Authorizationheader. - AuthMode() - Constructor for class io.github.pimak.ntfy.core.AuthMode
- AuthMode.BasicAuth - Class in io.github.pimak.ntfy.core
-
Sends
Authorization: Basic <base64(username:password)>. - AuthMode.BearerToken - Class in io.github.pimak.ntfy.core
-
Sends
Authorization: Bearer <token>. - AuthMode.None - Class in io.github.pimak.ntfy.core
-
Sends no
Authorizationheader at all — a valid anonymous publish.
B
- basic(String, String) - Static method in class io.github.pimak.ntfy.core.AuthMode
-
Creates a
AuthMode.BasicAuthauth mode carrying the given username/password pair. - bearer(String) - Static method in class io.github.pimak.ntfy.core.AuthMode
-
Creates a
AuthMode.BearerTokenauth mode carrying the given token. - bindTo(MeterRegistry) - Method in class io.github.pimak.ntfy.quarkus.runtime.NtfyMeterBinder
- body() - Method in record class io.github.pimak.ntfy.core.NtfyAction.Http
-
Returns the value of the
bodyrecord component. - broadcast(String, NtfyAction.BroadcastExtra...) - Static method in interface io.github.pimak.ntfy.core.NtfyAction
-
A
broadcastaction sending ntfy's default intent, with optionalextras. - broadcast(String, String, boolean, NtfyAction.BroadcastExtra...) - Static method in interface io.github.pimak.ntfy.core.NtfyAction
-
A
broadcastaction sendingintent(blank uses ntfy's default) with an explicitclearflag dismissing the notification on tap, plus optionalextras. - broadcast(String, String, NtfyAction.BroadcastExtra...) - Static method in interface io.github.pimak.ntfy.core.NtfyAction
-
A
broadcastaction sendingintent(blank uses ntfy's default), with extras. - Broadcast(String, String, List<NtfyAction.BroadcastExtra>, boolean) - Constructor for record class io.github.pimak.ntfy.core.NtfyAction.Broadcast
-
Creates an instance of a
Broadcastrecord class. - BroadcastExtra(String, String) - Constructor for record class io.github.pimak.ntfy.core.NtfyAction.BroadcastExtra
-
Creates an instance of a
BroadcastExtrarecord class. - build() - Method in class io.github.pimak.ntfy.core.NtfyConfig.Builder
- build() - Method in class io.github.pimak.ntfy.log4j2.NtfyLog4j2Appender.Builder
-
Instantiates the appender.
- builder() - Static method in class io.github.pimak.ntfy.core.NtfyConfig
-
Returns a fresh
NtfyConfig.Builderpre-loaded with every default. - Builder() - Constructor for class io.github.pimak.ntfy.log4j2.NtfyLog4j2Appender.Builder
- buildHeader() - Method in class io.github.pimak.ntfy.core.AuthMode.BasicAuth
- buildHeader() - Method in class io.github.pimak.ntfy.core.AuthMode.BearerToken
- buildHeader() - Method in class io.github.pimak.ntfy.core.AuthMode
-
Builds the
Authorizationheader value for this auth mode, if any. - buildHeader() - Method in class io.github.pimak.ntfy.core.AuthMode.None
C
- cache() - Method in interface io.github.pimak.ntfy.quarkus.runtime.NtfyRuntimeConfig
-
falseasks the server not to store the message (Cache: no). - cache(boolean) - Method in class io.github.pimak.ntfy.core.NtfyConfig.Builder
-
falseasks the server not to store the message (Cache: no), at the cost of every subscriber who is not connected at that moment. - cache(String) - Method in class io.github.pimak.ntfy.core.NtfyConfig.Builder
-
Sets
cachefrom a raw configuration string, the spelling every flat surface hands over — an XML attribute, an environment variable, a properties entry. - Cause(String, String) - Constructor for record class io.github.pimak.ntfy.core.AlertEvent.Cause
-
Creates an instance of a
Causerecord class. - causeChain() - Method in record class io.github.pimak.ntfy.core.AlertEvent
-
Returns the value of the
causeChainrecord component. - className() - Method in record class io.github.pimak.ntfy.core.AlertEvent.Cause
-
Returns the value of the
classNamerecord component. - clear() - Method in record class io.github.pimak.ntfy.core.NtfyAction.Broadcast
-
Returns the value of the
clearrecord component. - clear() - Method in record class io.github.pimak.ntfy.core.NtfyAction.Http
-
Returns the value of the
clearrecord component. - clear() - Method in record class io.github.pimak.ntfy.core.NtfyAction.View
-
Returns the value of the
clearrecord component. - clickUrl() - Method in interface io.github.pimak.ntfy.quarkus.runtime.NtfyRuntimeConfig
-
URL opened when a notification is tapped (ntfy
Clickheader). - clickUrl(String) - Method in class io.github.pimak.ntfy.core.NtfyConfig.Builder
-
URL opened when a notification is tapped (ntfy
Clickheader);nullto omit. - close() - Method in class io.github.pimak.ntfy.core.NtfyClient
-
Releases the underlying
HttpClient(Java 21+ deterministic shutdown). - close() - Method in class io.github.pimak.ntfy.jul.NtfyJulAutoHandler
- close() - Method in class io.github.pimak.ntfy.jul.NtfyJulHandler
- closeNtfyClient(NtfyClient) - Method in class io.github.pimak.ntfy.quarkus.runtime.NtfyClientProducer
-
Releases the client's underlying HTTP resources when the application shuts down.
- ConfigLoader - Class in io.github.pimak.ntfy.core
-
Resolves an
NtfyConfigfrom the ambient environment. - configure(LoggerContext) - Method in class io.github.pimak.ntfy.logback.NtfyLogbackConfigurator
- connectTimeout() - Method in interface io.github.pimak.ntfy.quarkus.runtime.NtfyRuntimeConfig
-
HTTP connect timeout (ntfy duration spelling, e.g.
- connectTimeout(Duration) - Method in class io.github.pimak.ntfy.core.NtfyConfig.Builder
- counters() - Method in class io.github.pimak.ntfy.core.AlertEngine
-
Read-only pipeline observability counters (published / suppressed / failed).
- counters() - Method in class io.github.pimak.ntfy.jul.NtfyJulHandler
-
The alert pipeline's observability counters for this handler's engine — the JUL counterpart of the Logback/Log4j2 appenders'
getCounters(). - create() - Method in class io.github.pimak.ntfy.quarkus.runtime.NtfyRecorder
-
Builds the ntfy JUL handler from the run-time config.
D
- destroy() - Method in class io.github.pimak.ntfy.spring.NtfyAutoConfiguration
- Diagnostics - Interface in io.github.pimak.ntfy.core
-
Self-diagnostic sink for
AlertEngine. - digestPriority() - Method in interface io.github.pimak.ntfy.quarkus.runtime.NtfyRuntimeConfig
-
ntfy priority header for the periodic storm digest.
- digestPriority(String) - Method in class io.github.pimak.ntfy.core.NtfyConfig.Builder
- digestTags() - Method in interface io.github.pimak.ntfy.quarkus.runtime.NtfyRuntimeConfig
-
ntfy tags header for the periodic storm digest.
- digestTags(String) - Method in class io.github.pimak.ntfy.core.NtfyConfig.Builder
- DurationParser - Class in io.github.pimak.ntfy.core
-
Parses the several duration spellings the ntfy configuration surface accepts into a
Duration.
E
- enabled() - Method in interface io.github.pimak.ntfy.quarkus.runtime.NtfyRuntimeConfig
-
Master switch; when
falsethe handler is never installed. - enabled(boolean) - Method in class io.github.pimak.ntfy.core.NtfyConfig.Builder
- endpointFromClasspathFile(boolean) - Method in class io.github.pimak.ntfy.core.NtfyConfig.Builder
-
See
NtfyConfig.isEndpointFromClasspathFile(); set byConfigLoaderonly. - equals(Object) - Method in record class io.github.pimak.ntfy.core.AlertEvent.Cause
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.pimak.ntfy.core.AlertEvent
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.pimak.ntfy.core.NtfyAction.Broadcast
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.pimak.ntfy.core.NtfyAction.BroadcastExtra
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.pimak.ntfy.core.NtfyAction.Http
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.pimak.ntfy.core.NtfyAction.HttpHeader
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.pimak.ntfy.core.NtfyAction.View
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.pimak.ntfy.core.PipelineCounters.Snapshot
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.pimak.ntfy.core.PublishResult
-
Indicates whether some other object is "equal to" this one.
- error(String, Throwable) - Method in interface io.github.pimak.ntfy.core.Diagnostics
-
Records an error together with the throwable that triggered it.
- ERROR - Enum constant in enum class io.github.pimak.ntfy.core.AlertLevel
-
Error-level and above (Log4j2
FATAL, JULSEVERE, and any custom level above them). - errorPriority() - Method in interface io.github.pimak.ntfy.quarkus.runtime.NtfyRuntimeConfig
-
ntfy priority header for individual error alerts.
- errorPriority(String) - Method in class io.github.pimak.ntfy.core.NtfyConfig.Builder
- errorTags() - Method in interface io.github.pimak.ntfy.quarkus.runtime.NtfyRuntimeConfig
-
ntfy tags header for individual error alerts.
- errorTags(String) - Method in class io.github.pimak.ntfy.core.NtfyConfig.Builder
- excludedExceptionTypes() - Method in interface io.github.pimak.ntfy.quarkus.runtime.NtfyRuntimeConfig
-
Comma-separated fully qualified exception class names.
- excludedExceptionTypes(List<String>) - Method in class io.github.pimak.ntfy.core.NtfyConfig.Builder
-
Sets the excluded exception types from an explicit list of fully qualified class names (defensively copied, null-safe, blanks dropped).
- excludedExceptionTypesCsv(String) - Method in class io.github.pimak.ntfy.core.NtfyConfig.Builder
-
Convenience: sets the excluded exception types from a single comma-separated string of fully qualified class names, trimming each entry and dropping blanks.
- excludedLoggerPrefixes(List<String>) - Method in class io.github.pimak.ntfy.core.NtfyConfig.Builder
-
Sets the excluded logger prefixes from an explicit list (defensively copied, null-safe).
- excludedLoggers() - Method in interface io.github.pimak.ntfy.quarkus.runtime.NtfyRuntimeConfig
-
Comma-separated logger-name prefixes excluded from alerting.
- excludedLoggers(String) - Method in class io.github.pimak.ntfy.core.NtfyConfig.Builder
-
Convenience: sets the excluded logger prefixes from a single comma-separated string, trimming each entry and dropping blanks.
- extras() - Method in record class io.github.pimak.ntfy.core.NtfyAction.Broadcast
-
Returns the value of the
extrasrecord component.
F
- failed() - Method in class io.github.pimak.ntfy.core.PipelineCounters
-
Failed publish attempts (individual publish failure/exception + digest publish failure).
- failed() - Method in record class io.github.pimak.ntfy.core.PipelineCounters.Snapshot
-
Returns the value of the
failedrecord component. - failure(int, String) - Static method in record class io.github.pimak.ntfy.core.PublishResult
- failure(String) - Static method in record class io.github.pimak.ntfy.core.PublishResult
- firebase() - Method in interface io.github.pimak.ntfy.quarkus.runtime.NtfyRuntimeConfig
-
falseasks the server not to forward the message to Firebase (Firebase: no). - firebase(boolean) - Method in class io.github.pimak.ntfy.core.NtfyConfig.Builder
-
falseasks the server not to forward the message to Firebase (Firebase: no), at the cost of push latency on the Google Play Android client. - firebase(String) - Method in class io.github.pimak.ntfy.core.NtfyConfig.Builder
-
firebasefrom a raw configuration string. - flush() - Method in class io.github.pimak.ntfy.jul.NtfyJulAutoHandler
- flush() - Method in class io.github.pimak.ntfy.jul.NtfyJulHandler
- forConfig(NtfyConfig) - Static method in class io.github.pimak.ntfy.jul.NtfyJulHandler
-
Builds a handler around a fresh, started
AlertEngineforconfig, with engine self-diagnostics routed toSystem.err(never back through the logging pipeline — seeJulDiagnostics). - formattedMessage() - Method in record class io.github.pimak.ntfy.core.AlertEvent
-
Returns the value of the
formattedMessagerecord component. - fromCredentials(String, String, String) - Static method in class io.github.pimak.ntfy.core.AuthMode
-
Derives the applicable
AuthModefrom raw configured credentials, encoding the same precedence as the engine's configuration surface: a non-blanktokenalways wins, even ifusername/passwordare also set; otherwise a non-blankusernameANDpasswordtogether selectAuthMode.BasicAuth; otherwiseAuthMode.None. - fromValue(String) - Static method in enum class io.github.pimak.ntfy.core.StartupPingMode
-
Parses a configured value case-insensitively, returning
null— never throwing — when the value matches no constant.
G
- getActions() - Method in class io.github.pimak.ntfy.core.NtfyConfig
-
The pre-serialized ntfy
Actionsheader value (action buttons) sent with both individual error alerts and the storm digest, ornull/blank to send noActionsheader. - getActions() - Method in class io.github.pimak.ntfy.micronaut.NtfyConfiguration
-
Action buttons as a raw ntfy
Actionsheader value (short format, e.g. - getActions() - Method in class io.github.pimak.ntfy.spring.NtfyProperties
- getAppName() - Method in class io.github.pimak.ntfy.core.NtfyConfig
- getAppName() - Method in class io.github.pimak.ntfy.micronaut.NtfyConfiguration
-
Application name shown in notification bodies to distinguish services sharing a topic.
- getAppName() - Method in class io.github.pimak.ntfy.spring.NtfyProperties
- getAsyncQueueCapacity() - Method in class io.github.pimak.ntfy.core.NtfyConfig
-
Maximum number of pending error alerts the asynchronous delivery queue holds before overflow kicks in (see
AlertEngine). - getAsyncQueueCapacity() - Method in class io.github.pimak.ntfy.micronaut.NtfyConfiguration
-
Bounded async delivery queue capacity; only consulted when
NtfyConfiguration.isAsync()istrue. - getAsyncQueueCapacity() - Method in class io.github.pimak.ntfy.spring.NtfyProperties
- getClickUrl() - Method in class io.github.pimak.ntfy.core.NtfyConfig
-
The URL ntfy opens when a notification is tapped (sent as the
Clickheader), ornull/blank to send noClickheader. - getClickUrl() - Method in class io.github.pimak.ntfy.micronaut.NtfyConfiguration
-
URL opened when a notification is tapped (ntfy
Clickheader). - getClickUrl() - Method in class io.github.pimak.ntfy.spring.NtfyProperties
- getConnectTimeout() - Method in class io.github.pimak.ntfy.core.NtfyConfig
- getConnectTimeout() - Method in class io.github.pimak.ntfy.micronaut.NtfyConfiguration
-
HTTP connect timeout for publishing.
- getConnectTimeout() - Method in class io.github.pimak.ntfy.spring.NtfyProperties
- getCounters() - Method in class io.github.pimak.ntfy.log4j2.NtfyLog4j2Appender
-
Read-only pipeline observability counters (published / suppressed / failed) for this appender.
- getCounters() - Method in class io.github.pimak.ntfy.logback.LogbackAlertAppender
-
Read-only pipeline observability counters (published / suppressed / failed) for this appender.
- getDigestPriority() - Method in class io.github.pimak.ntfy.core.NtfyConfig
- getDigestPriority() - Method in class io.github.pimak.ntfy.micronaut.NtfyConfiguration
-
ntfy priority of digest notifications.
- getDigestPriority() - Method in class io.github.pimak.ntfy.spring.NtfyProperties
- getDigestTags() - Method in class io.github.pimak.ntfy.core.NtfyConfig
- getDigestTags() - Method in class io.github.pimak.ntfy.micronaut.NtfyConfiguration
-
Comma-separated ntfy tags attached to digest notifications.
- getDigestTags() - Method in class io.github.pimak.ntfy.spring.NtfyProperties
- getErrorPriority() - Method in class io.github.pimak.ntfy.core.NtfyConfig
- getErrorPriority() - Method in class io.github.pimak.ntfy.micronaut.NtfyConfiguration
-
ntfy priority of individual error notifications.
- getErrorPriority() - Method in class io.github.pimak.ntfy.spring.NtfyProperties
- getErrorTags() - Method in class io.github.pimak.ntfy.core.NtfyConfig
- getErrorTags() - Method in class io.github.pimak.ntfy.micronaut.NtfyConfiguration
-
Comma-separated ntfy tags attached to individual error notifications.
- getErrorTags() - Method in class io.github.pimak.ntfy.spring.NtfyProperties
- getExcludedExceptionTypes() - Method in class io.github.pimak.ntfy.core.NtfyConfig
-
The unmodifiable list of fully qualified exception class names whose presence ANYWHERE in an event's cause chain gates the event out.
- getExcludedExceptionTypes() - Method in class io.github.pimak.ntfy.micronaut.NtfyConfiguration
-
Comma-separated fully qualified exception class names.
- getExcludedExceptionTypes() - Method in class io.github.pimak.ntfy.spring.NtfyProperties
- getExcludedLoggerPrefixes() - Method in class io.github.pimak.ntfy.core.NtfyConfig
-
The unmodifiable list of logger-name prefixes excluded from alerting.
- getExcludedLoggers() - Method in class io.github.pimak.ntfy.micronaut.NtfyConfiguration
-
Comma-separated logger-name prefixes excluded from alerting.
- getExcludedLoggers() - Method in class io.github.pimak.ntfy.spring.NtfyProperties
- getIcon() - Method in class io.github.pimak.ntfy.core.NtfyConfig
-
URL of the icon shown beside the notification (ntfy
Iconheader), ornullwhen unset. - getIcon() - Method in class io.github.pimak.ntfy.micronaut.NtfyConfiguration
-
URL of the icon shown beside the notification (ntfy
Iconheader). - getIcon() - Method in class io.github.pimak.ntfy.spring.NtfyProperties
- getIconsByLogger() - Method in class io.github.pimak.ntfy.micronaut.NtfyConfiguration
-
Per-logger icon overrides as
prefix=urlpairs separated by commas. - getIconsByLogger() - Method in class io.github.pimak.ntfy.spring.NtfyProperties
- getIconsByLoggerPrefix() - Method in class io.github.pimak.ntfy.core.NtfyConfig
-
The unmodifiable logger-prefix → icon-URL table that overrides
NtfyConfig.getIcon()for alerts, in configured order. - getIncludeMdcKeys() - Method in class io.github.pimak.ntfy.core.NtfyConfig
-
The unmodifiable, EXPLICIT allow-list of MDC keys whose values are rendered into alert bodies (one
key: valueline each), in configured order — that order is the rendering order. - getIncludeMdcKeys() - Method in class io.github.pimak.ntfy.micronaut.NtfyConfiguration
-
Comma-separated allow-list of MDC keys whose values are rendered into alert bodies, one
key: valueline each. - getIncludeMdcKeys() - Method in class io.github.pimak.ntfy.spring.NtfyProperties
-
Comma-separated allow-list of MDC keys whose values are rendered into alert bodies, one
key: valueline each, in the order given here. - getLocale() - Method in class io.github.pimak.ntfy.core.NtfyConfig
-
Language of the notification bodies and self-diagnostic messages the engine produces.
- getLocale() - Method in class io.github.pimak.ntfy.micronaut.NtfyConfiguration
-
Language of notification bodies and diagnostics as a BCP 47 tag (e.g.
- getLocale() - Method in class io.github.pimak.ntfy.spring.NtfyProperties
-
Language of notification bodies and diagnostics as a BCP 47 tag (e.g.
- getMaxAlertsPerWindow() - Method in class io.github.pimak.ntfy.core.NtfyConfig
- getMaxAlertsPerWindow() - Method in class io.github.pimak.ntfy.micronaut.NtfyConfiguration
-
Individual alerts published per suppression window before the engine switches to digesting.
- getMaxAlertsPerWindow() - Method in class io.github.pimak.ntfy.spring.NtfyProperties
- getMaxStackFrames() - Method in class io.github.pimak.ntfy.core.NtfyConfig
- getMaxStackFrames() - Method in class io.github.pimak.ntfy.micronaut.NtfyConfiguration
-
Number of stack frames included in a notification body.
- getMaxStackFrames() - Method in class io.github.pimak.ntfy.spring.NtfyProperties
- getPassword() - Method in class io.github.pimak.ntfy.core.NtfyConfig
- getPassword() - Method in class io.github.pimak.ntfy.micronaut.NtfyConfiguration
-
Password for basic authentication.
- getPassword() - Method in class io.github.pimak.ntfy.spring.NtfyProperties
- getRequestTimeout() - Method in class io.github.pimak.ntfy.core.NtfyConfig
- getRequestTimeout() - Method in class io.github.pimak.ntfy.micronaut.NtfyConfiguration
-
HTTP request timeout for publishing.
- getRequestTimeout() - Method in class io.github.pimak.ntfy.spring.NtfyProperties
- getStartupPing() - Method in class io.github.pimak.ntfy.core.NtfyConfig
-
What the opt-in startup self-test does once the engine has finished activating — see
StartupPingMode. - getStartupPing() - Method in class io.github.pimak.ntfy.micronaut.NtfyConfiguration
-
Opt-in startup self-test verifying at boot that the configured endpoint, credentials and topic actually work — instead of finding out when the first real error alert fails to deliver.
- getStartupPing() - Method in class io.github.pimak.ntfy.spring.NtfyProperties
- getStartupPingWarn() - Method in class io.github.pimak.ntfy.core.NtfyConfig
-
What the startup self-test does for the optional WARN route — see
StartupPingMode. - getStartupPingWarn() - Method in class io.github.pimak.ntfy.micronaut.NtfyConfiguration
-
Startup self-test for the optional WARN route, independent of
NtfyConfiguration.getStartupPing(). - getStartupPingWarn() - Method in class io.github.pimak.ntfy.spring.NtfyProperties
- getSuppressionWindow() - Method in class io.github.pimak.ntfy.core.NtfyConfig
- getSuppressionWindow() - Method in class io.github.pimak.ntfy.micronaut.NtfyConfiguration
-
Length of the storm-suppression window.
- getSuppressionWindow() - Method in class io.github.pimak.ntfy.spring.NtfyProperties
- getTitle() - Method in class io.github.pimak.ntfy.core.NtfyConfig
- getTitle() - Method in class io.github.pimak.ntfy.micronaut.NtfyConfiguration
-
Fixed notification title; when unset the engine derives one from the event.
- getTitle() - Method in class io.github.pimak.ntfy.spring.NtfyProperties
- getToken() - Method in class io.github.pimak.ntfy.core.NtfyConfig
- getToken() - Method in class io.github.pimak.ntfy.micronaut.NtfyConfiguration
-
Bearer access token used instead of username/password authentication.
- getToken() - Method in class io.github.pimak.ntfy.spring.NtfyProperties
- getTopic() - Method in class io.github.pimak.ntfy.core.NtfyConfig
- getTopic() - Method in class io.github.pimak.ntfy.micronaut.NtfyConfiguration
-
Topic notifications are published to.
- getTopic() - Method in class io.github.pimak.ntfy.spring.NtfyProperties
- getUrl() - Method in class io.github.pimak.ntfy.core.NtfyConfig
- getUrl() - Method in class io.github.pimak.ntfy.micronaut.NtfyConfiguration
-
Base URL of the ntfy server, e.g.
- getUrl() - Method in class io.github.pimak.ntfy.spring.NtfyProperties
- getUsername() - Method in class io.github.pimak.ntfy.core.NtfyConfig
- getUsername() - Method in class io.github.pimak.ntfy.micronaut.NtfyConfiguration
-
Username for basic authentication.
- getUsername() - Method in class io.github.pimak.ntfy.spring.NtfyProperties
- getWarnPriority() - Method in class io.github.pimak.ntfy.core.NtfyConfig
-
The ntfy
Priorityheader for WARN alerts (defaultdefault). - getWarnPriority() - Method in class io.github.pimak.ntfy.micronaut.NtfyConfiguration
-
ntfy priority header for WARN alerts and the WARN digest.
- getWarnPriority() - Method in class io.github.pimak.ntfy.spring.NtfyProperties
-
ntfy
Priorityheader for WARN alerts and the WARN digest. - getWarnTags() - Method in class io.github.pimak.ntfy.core.NtfyConfig
-
The ntfy
Tagsheader for WARN alerts and the WARN digest (defaultwarning). - getWarnTags() - Method in class io.github.pimak.ntfy.micronaut.NtfyConfiguration
-
ntfy tags header for WARN alerts and the WARN digest.
- getWarnTags() - Method in class io.github.pimak.ntfy.spring.NtfyProperties
-
ntfy
Tagsheader for WARN alerts and the WARN digest. - getWarnTopic() - Method in class io.github.pimak.ntfy.core.NtfyConfig
-
The ntfy topic WARN-level events are published to, or
null/blank when WARN alerting is off (the default). - getWarnTopic() - Method in class io.github.pimak.ntfy.micronaut.NtfyConfiguration
-
The ntfy topic WARN-level events are published to.
- getWarnTopic() - Method in class io.github.pimak.ntfy.spring.NtfyProperties
-
The topic WARN-level events are published to.
H
- hashCode() - Method in record class io.github.pimak.ntfy.core.AlertEvent.Cause
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.pimak.ntfy.core.AlertEvent
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.pimak.ntfy.core.NtfyAction.Broadcast
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.pimak.ntfy.core.NtfyAction.BroadcastExtra
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.pimak.ntfy.core.NtfyAction.Http
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.pimak.ntfy.core.NtfyAction.HttpHeader
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.pimak.ntfy.core.NtfyAction.View
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.pimak.ntfy.core.PipelineCounters.Snapshot
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.pimak.ntfy.core.PublishResult
-
Returns a hash code value for this object.
- headers() - Method in record class io.github.pimak.ntfy.core.NtfyAction.Http
-
Returns the value of the
headersrecord component. - http(String, String) - Static method in interface io.github.pimak.ntfy.core.NtfyAction
-
An
httpaction sending a GET tourlwhen tapped. - http(String, String, String, String) - Static method in interface io.github.pimak.ntfy.core.NtfyAction
-
An
httpaction sendingmethod(with optionalbody) tourl. - http(String, String, String, String, boolean, NtfyAction.HttpHeader...) - Static method in interface io.github.pimak.ntfy.core.NtfyAction
-
An
httpaction asNtfyAction.http(String, String, String, String, HttpHeader...)but with an explicitclearflag dismissing the notification on tap. - http(String, String, String, String, NtfyAction.HttpHeader...) - Static method in interface io.github.pimak.ntfy.core.NtfyAction
-
An
httpaction sendingmethod(with optionalbody) tourl, carrying the given requestheaders(e.g. - Http(String, String, String, String, boolean, List<NtfyAction.HttpHeader>) - Constructor for record class io.github.pimak.ntfy.core.NtfyAction.Http
-
Creates an instance of a
Httprecord class. - HttpHeader(String, String) - Constructor for record class io.github.pimak.ntfy.core.NtfyAction.HttpHeader
-
Creates an instance of a
HttpHeaderrecord class. - httpStatus() - Method in record class io.github.pimak.ntfy.core.PublishResult
-
Returns the value of the
httpStatusrecord component.
I
- icon() - Method in interface io.github.pimak.ntfy.quarkus.runtime.NtfyRuntimeConfig
-
URL of the icon shown beside the notification (ntfy
Iconheader). - icon(String) - Method in class io.github.pimak.ntfy.core.NtfyConfig.Builder
-
Sets the notification icon URL (ntfy
Iconheader). - iconsByLogger() - Method in interface io.github.pimak.ntfy.quarkus.runtime.NtfyRuntimeConfig
-
Per-logger icon overrides as
prefix=urlpairs separated by commas. - iconsByLoggerPrefix(Map<String, String>) - Method in class io.github.pimak.ntfy.core.NtfyConfig.Builder
-
Sets the logger-prefix → icon-URL table (defensively copied, null-safe).
- iconsByLoggerPrefixCsv(String) - Method in class io.github.pimak.ntfy.core.NtfyConfig.Builder
-
Convenience: the same table as a single string,
prefix=urlpairs separated by commas — the spelling every adapter's flat configuration surface uses. - includeMdcKeys() - Method in interface io.github.pimak.ntfy.quarkus.runtime.NtfyRuntimeConfig
-
Comma-separated allow-list of MDC keys whose values are rendered into alert bodies, one
key: valueline each, in the order given here. - includeMdcKeys(List<String>) - Method in class io.github.pimak.ntfy.core.NtfyConfig.Builder
-
Sets the MDC-key allow-list from an explicit list (defensively copied, null-safe); a
nulllist clears it. - includeMdcKeysCsv(String) - Method in class io.github.pimak.ntfy.core.NtfyConfig.Builder
-
Convenience: sets the MDC-key allow-list from a single comma-separated string, trimming each entry and dropping blanks.
- info(String) - Method in interface io.github.pimak.ntfy.core.Diagnostics
-
Records an informational lifecycle message (engine active, exclusions configured, ...).
- install() - Static method in class io.github.pimak.ntfy.jul.NtfyJulInstaller
-
Installs on the root logger.
- install() - Static method in class io.github.pimak.ntfy.log4j2.NtfyLog4j2Installer
-
Installs on the current
LoggerContext(LoggerContext.getContext(false)— the caller's context, without forcing initialization of a new one). - install(Logger) - Static method in class io.github.pimak.ntfy.jul.NtfyJulInstaller
-
Resolves the ambient config and, when active and vetted, attaches a started
NtfyJulHandlertologger. - install(LoggerContext) - Static method in class io.github.pimak.ntfy.log4j2.NtfyLog4j2Installer
-
Resolves the ambient config and, when active and vetted, attaches a started
NtfyLog4j2Appendertocontext's root logger atLevel.ERROR. - intent() - Method in record class io.github.pimak.ntfy.core.NtfyAction.Broadcast
-
Returns the value of the
intentrecord component. - io.github.pimak.ntfy.core - package io.github.pimak.ntfy.core
- io.github.pimak.ntfy.jul - package io.github.pimak.ntfy.jul
- io.github.pimak.ntfy.log4j2 - package io.github.pimak.ntfy.log4j2
- io.github.pimak.ntfy.logback - package io.github.pimak.ntfy.logback
- io.github.pimak.ntfy.micronaut - package io.github.pimak.ntfy.micronaut
- io.github.pimak.ntfy.quarkus.runtime - package io.github.pimak.ntfy.quarkus.runtime
- io.github.pimak.ntfy.spring - package io.github.pimak.ntfy.spring
- isActive() - Method in class io.github.pimak.ntfy.core.NtfyConfig
-
True when this config should actually deliver alerts: it is
NtfyConfig.enabled, and bothNtfyConfig.getUrl()andNtfyConfig.getTopic()are non-blank. - isAllowClasspathEndpoint() - Method in class io.github.pimak.ntfy.core.NtfyConfig
-
True when the operator has explicitly opted in to activating alert delivery from an endpoint URL supplied only by a classpath
ntfy.properties(seeNtfyConfig.isEndpointFromClasspathFile()). - isAsync() - Method in class io.github.pimak.ntfy.micronaut.NtfyConfiguration
-
Asynchronous (offloaded) delivery, so a slow or unreachable ntfy server never blocks the logging thread.
- isAsync() - Method in class io.github.pimak.ntfy.spring.NtfyProperties
- isAsyncEnabled() - Method in class io.github.pimak.ntfy.core.NtfyConfig
-
True when delivery of individual error alerts should be offloaded to the engine's bounded asynchronous work queue instead of running inline on the calling (logging) thread.
- isCache() - Method in class io.github.pimak.ntfy.core.NtfyConfig
-
Whether the ntfy server may cache published messages (
trueby default, matching ntfy's own default of storing them for 12 hours). - isCache() - Method in class io.github.pimak.ntfy.micronaut.NtfyConfiguration
-
falseasks the server not to store the message (Cache: no). - isCache() - Method in class io.github.pimak.ntfy.spring.NtfyProperties
- isDeliveryPolicyValueRejected() - Method in class io.github.pimak.ntfy.core.NtfyConfig
-
True when a
cacheorfirebasevalue was supplied but could not be read as a boolean, so the default was kept. - isEnabled() - Method in class io.github.pimak.ntfy.core.NtfyConfig
- isEnabled() - Method in class io.github.pimak.ntfy.micronaut.NtfyConfiguration
-
Master switch for the integration.
- isEnabled() - Method in class io.github.pimak.ntfy.spring.NtfyProperties
- isEndpointFromClasspathFile() - Method in class io.github.pimak.ntfy.core.NtfyConfig
-
True when the endpoint URL was supplied ONLY by a classpath
ntfy.properties(no system property or environment variable set it). - isFirebase() - Method in class io.github.pimak.ntfy.core.NtfyConfig
-
Whether the ntfy server may forward published messages to Firebase Cloud Messaging (
trueby default). - isFirebase() - Method in class io.github.pimak.ntfy.micronaut.NtfyConfiguration
-
falseasks the server not to forward the message to Firebase (Firebase: no). - isFirebase() - Method in class io.github.pimak.ntfy.spring.NtfyProperties
- isIconsByLoggerValueRejected() - Method in class io.github.pimak.ntfy.core.NtfyConfig
-
True when an
icons-by-loggerentry could not be read as aprefix=urlpair, so it was discarded. - isRequireHttpsForCredentials() - Method in class io.github.pimak.ntfy.core.NtfyConfig
-
True when the engine must REFUSE activation (rather than merely warn) if credentials — a configured token, a username/password pair, or userinfo embedded in the URL itself — would be sent over a cleartext
http://endpoint. - isRequireHttpsForCredentials() - Method in class io.github.pimak.ntfy.micronaut.NtfyConfiguration
-
Strict transport mode: refuse engine activation (rather than only warn) when credentials would be sent over a cleartext
http://endpoint. - isRequireHttpsForCredentials() - Method in class io.github.pimak.ntfy.spring.NtfyProperties
- isStarted() - Method in class io.github.pimak.ntfy.core.AlertEngine
-
True once
AlertEngine.start()has activated the engine, untilAlertEngine.stop()tears it down. - isStartupPingFailFast() - Method in class io.github.pimak.ntfy.core.NtfyConfig
-
True when a failed startup self-test must abort application startup (by throwing
NtfyStartupSelfTestExceptionout ofAlertEngine.start()) rather than merely warn. - isStartupPingFailFast() - Method in class io.github.pimak.ntfy.micronaut.NtfyConfiguration
-
Whether a failed startup self-test aborts application startup instead of only warning.
- isStartupPingFailFast() - Method in class io.github.pimak.ntfy.spring.NtfyProperties
- isStartupPingNotifyFailures() - Method in class io.github.pimak.ntfy.core.NtfyConfig
-
Whether a failed self-test should be announced as an ntfy notification on a route that PASSED.
- isStartupPingNotifyFailures() - Method in class io.github.pimak.ntfy.micronaut.NtfyConfiguration
-
Whether a failed self-test is announced on a route that passed.
- isStartupPingNotifyFailures() - Method in class io.github.pimak.ntfy.spring.NtfyProperties
- isStartupPingValueRejected() - Method in class io.github.pimak.ntfy.core.NtfyConfig
-
True when a
startup-pingvalue was supplied but matched no known mode, so the default was kept. - isStartupPingWarnValueRejected() - Method in class io.github.pimak.ntfy.core.NtfyConfig
-
As
NtfyConfig.isStartupPingValueRejected(), forstartup-ping-warn. - isWarnRoutingActive() - Method in class io.github.pimak.ntfy.core.AlertEngine
-
True when this started engine actually activated a WARN route, i.e.
- isWarnRoutingEnabled() - Method in class io.github.pimak.ntfy.core.NtfyConfig
-
True when a non-blank
NtfyConfig.getWarnTopic()is configured, i.e. - isWarnTopicFromClasspathFile() - Method in class io.github.pimak.ntfy.core.NtfyConfig
-
True when
NtfyConfig.getWarnTopic()was supplied ONLY by a classpathntfy.properties— nontfy.warn-topicsystem property and noNTFY_WARN_TOPICenvironment variable.
L
- label() - Method in record class io.github.pimak.ntfy.core.NtfyAction.Broadcast
-
Returns the value of the
labelrecord component. - label() - Method in record class io.github.pimak.ntfy.core.NtfyAction.Http
-
Returns the value of the
labelrecord component. - label() - Method in interface io.github.pimak.ntfy.core.NtfyAction
-
The button label shown in the notification.
- label() - Method in record class io.github.pimak.ntfy.core.NtfyAction.View
-
Returns the value of the
labelrecord component. - level() - Method in record class io.github.pimak.ntfy.core.AlertEvent
-
Returns the value of the
levelrecord component. - load() - Static method in class io.github.pimak.ntfy.core.ConfigLoader
-
Loads configuration from live system properties, environment variables, and a classpath
ntfy.properties(if present), applying the precedence documented on this class. - locale() - Method in interface io.github.pimak.ntfy.quarkus.runtime.NtfyRuntimeConfig
-
Language of notification bodies and diagnostics as a BCP 47 tag (e.g.
- locale(String) - Method in class io.github.pimak.ntfy.core.NtfyConfig.Builder
-
Convenience overload that parses a BCP 47 language tag (e.g.
- locale(Locale) - Method in class io.github.pimak.ntfy.core.NtfyConfig.Builder
-
Sets the language of notification bodies and diagnostics (see
NtfyConfig.getLocale()). - LogbackAlertAppender - Class in io.github.pimak.ntfy.logback
-
A thin Logback
UnsynchronizedAppenderBase<ILoggingEvent>shell over the framework-neutralAlertEngine. - LogbackAlertAppender() - Constructor for class io.github.pimak.ntfy.logback.LogbackAlertAppender
- loggerName() - Method in record class io.github.pimak.ntfy.core.AlertEvent
-
Returns the value of the
loggerNamerecord component.
M
- markerNames() - Method in record class io.github.pimak.ntfy.core.AlertEvent
-
Returns the value of the
markerNamesrecord component. - maxAlertsPerWindow() - Method in interface io.github.pimak.ntfy.quarkus.runtime.NtfyRuntimeConfig
-
Maximum individually-published alerts per suppression window before digesting kicks in.
- maxAlertsPerWindow(int) - Method in class io.github.pimak.ntfy.core.NtfyConfig.Builder
- maxStackFrames() - Method in interface io.github.pimak.ntfy.quarkus.runtime.NtfyRuntimeConfig
-
Maximum root-cause stack frames rendered into an alert body.
- maxStackFrames(int) - Method in class io.github.pimak.ntfy.core.NtfyConfig.Builder
- MdcProjector - Class in io.github.pimak.ntfy.core
-
Projects a logging framework's diagnostic context (MDC) onto the small, bounded, sanitized map of
key -> valuepairs an alert body may carry — theinclude-mdc-keysfeature. - mdcValues() - Method in record class io.github.pimak.ntfy.core.AlertEvent
-
Returns the value of the
mdcValuesrecord component. - message() - Method in record class io.github.pimak.ntfy.core.AlertEvent.Cause
-
Returns the value of the
messagerecord component. - message() - Method in record class io.github.pimak.ntfy.core.PublishResult
-
Returns the value of the
messagerecord component. - method() - Method in record class io.github.pimak.ntfy.core.NtfyAction.Http
-
Returns the value of the
methodrecord component.
N
- name() - Method in record class io.github.pimak.ntfy.core.NtfyAction.BroadcastExtra
-
Returns the value of the
namerecord component. - name() - Method in record class io.github.pimak.ntfy.core.NtfyAction.HttpHeader
-
Returns the value of the
namerecord component. - newBuilder() - Static method in class io.github.pimak.ntfy.log4j2.NtfyLog4j2Appender
-
The plugin builder log4j2 instantiates for an
<Ntfy .../>element. - NO_ALERT_MARKER_NAME - Static variable in class io.github.pimak.ntfy.core.AlertEngine
-
Marker name an adapter surfaces in
AlertEvent.markerNames()to opt a single event out of alerting entirely. - NO_ALERT_MARKER_NAME - Static variable in class io.github.pimak.ntfy.log4j2.NtfyLog4j2Appender
-
Marker name a caller attaches to a single log call to opt it out of alerting entirely (
logger.error(MarkerManager.getMarker(NtfyLog4j2Appender.NO_ALERT_MARKER_NAME), ...)). - NO_ALERT_MARKER_NAME - Static variable in class io.github.pimak.ntfy.logback.LogbackAlertAppender
-
Marker name a caller attaches to a single log call to opt it out of alerting entirely.
- none() - Static method in class io.github.pimak.ntfy.core.AuthMode
-
Returns the shared
AuthMode.Noneinstance (noAuthorizationheader is sent). - notify(String, String) - Method in class io.github.pimak.ntfy.core.NtfyClient
-
Publishes
title/messageto the configured topic with noPriority/Tagsheaders. - notify(String, String, String, String) - Method in class io.github.pimak.ntfy.core.NtfyClient
-
Publishes
title/messageto the configured topic, forwardingpriorityandtagsas ntfy'sPriorityandTagsheaders (blank/null values send no corresponding header). - notify(String, String, String, String, String) - Method in class io.github.pimak.ntfy.core.NtfyClient
-
Publishes
title/messageto the configured topic, forwardingpriority,tagsandclickas ntfy'sPriority,TagsandClickheaders (blank/null values send no corresponding header). - notify(String, String, List<NtfyAction>) - Method in class io.github.pimak.ntfy.core.NtfyClient
-
Publishes
title/messageto the configured topic with the given action buttons, serialized to ntfy'sActionsheader (ntfy caps a notification at three actions; extras andnullelements are dropped). - NtfyAction - Interface in io.github.pimak.ntfy.core
-
A single ntfy notification action button, modeled as a sealed hierarchy so each action type carries only the fields it needs (mirroring the
AuthModepattern). - NtfyAction.Broadcast - Record Class in io.github.pimak.ntfy.core
-
Sends an Android broadcast intent when tapped (only actioned by ntfy's Android app).
- NtfyAction.BroadcastExtra - Record Class in io.github.pimak.ntfy.core
- NtfyAction.Http - Record Class in io.github.pimak.ntfy.core
-
Sends an HTTP request to
urlwhen tapped. - NtfyAction.HttpHeader - Record Class in io.github.pimak.ntfy.core
- NtfyAction.View - Record Class in io.github.pimak.ntfy.core
-
Opens
urlin the browser/app when the action button is tapped. - NtfyAutoConfiguration - Class in io.github.pimak.ntfy.spring
-
Auto-configuration that turns
ntfy.*properties into a live ntfy integration for a Spring Boot application. - NtfyAutoConfiguration() - Constructor for class io.github.pimak.ntfy.spring.NtfyAutoConfiguration
- ntfyClient(NtfyConfiguration) - Method in class io.github.pimak.ntfy.micronaut.NtfyClientFactory
-
Builds the singleton
NtfyClient. - ntfyClient(NtfyRuntimeConfig) - Method in class io.github.pimak.ntfy.quarkus.runtime.NtfyClientProducer
-
Produces the singleton
NtfyClientbuilt from the run-time ntfy config. - NtfyClient - Class in io.github.pimak.ntfy.core
-
Generic, standalone ntfy notification client — the "send an arbitrary notification" surface, independent of
AlertEngine's log-alert lifecycle. - NtfyClient(NtfyConfig) - Constructor for class io.github.pimak.ntfy.core.NtfyClient
- NtfyClientFactory - Class in io.github.pimak.ntfy.micronaut
-
Exposes the injectable
NtfyClientbean, built from the boundNtfyConfiguration. - NtfyClientFactory() - Constructor for class io.github.pimak.ntfy.micronaut.NtfyClientFactory
- NtfyClientProducer - Class in io.github.pimak.ntfy.quarkus.runtime
-
Exposes a generic, application-scoped
NtfyClientfor CDI injection, so Quarkus apps can@Inject NtfyClientto send arbitrary notifications independent of the log-alert path. - NtfyClientProducer() - Constructor for class io.github.pimak.ntfy.quarkus.runtime.NtfyClientProducer
- NtfyConfig - Class in io.github.pimak.ntfy.core
-
Immutable, framework-neutral configuration for the ntfy engine and client.
- NtfyConfig.Builder - Class in io.github.pimak.ntfy.core
-
Fluent builder for
NtfyConfig; every setter returnsthis. - NtfyConfiguration - Class in io.github.pimak.ntfy.micronaut
-
Binds all
ntfy.*application configuration for a Micronaut application. - NtfyConfiguration() - Constructor for class io.github.pimak.ntfy.micronaut.NtfyConfiguration
- NtfyJulAutoHandler - Class in io.github.pimak.ntfy.jul
-
Declarative zero-code entry point: name this class in a JUL
logging.properties— - NtfyJulAutoHandler() - Constructor for class io.github.pimak.ntfy.jul.NtfyJulAutoHandler
-
Invoked reflectively by
LogManager; also usable directly. - NtfyJulHandler - Class in io.github.pimak.ntfy.jul
-
A
Handlerthat forwards SEVERE-and-above (and, when a warn route is configured, WARNING)LogRecords to the ntfyAlertEngine. - NtfyJulHandler(AlertEngine) - Constructor for class io.github.pimak.ntfy.jul.NtfyJulHandler
-
Equivalent to
NtfyJulHandler(AlertEngine, List)with an empty MDC allow-list, i.e. no MDC values in the alert body. - NtfyJulHandler(AlertEngine, List<String>) - Constructor for class io.github.pimak.ntfy.jul.NtfyJulHandler
- NtfyJulInstaller - Class in io.github.pimak.ntfy.jul
-
Programmatic one-liner install of the ntfy JUL handler from the ambient environment:
NtfyJulInstaller.install()early inmainattaches aNtfyJulHandlerto the root logger when the environment configures ntfy (NTFY_URL/NTFY_TOPIC,-Dntfy.*, or a trusted classpathntfy.properties— seeJulAmbientConfigfor the classpath-endpoint opt-in guard), and does nothing otherwise. - NtfyLog4j2Appender - Class in io.github.pimak.ntfy.log4j2
-
A thin log4j2
AbstractAppendershell over the framework-neutralAlertEngine, exposed tolog4j2.xmlas the<Ntfy .../>element. - NtfyLog4j2Appender.Builder - Class in io.github.pimak.ntfy.log4j2
-
Plugin builder for the
<Ntfy .../>element. - NtfyLog4j2Installer - Class in io.github.pimak.ntfy.log4j2
-
Programmatic one-liner install of the ntfy log4j2 appender from the ambient environment:
NtfyLog4j2Installer.install()early inmainattaches a startedNtfyLog4j2Appenderto the root logger atLevel.ERRORwhen the environment configures ntfy (NTFY_URL/NTFY_TOPIC,-Dntfy.*, or a trusted classpathntfy.properties— seeLog4j2AmbientConfigfor the classpath-endpoint opt-in guard), and does nothing otherwise. - NtfyLogbackConfigurator - Class in io.github.pimak.ntfy.logback
-
A Logback
ConfiguratorSPI implementation that auto-installs the ntfy appender on the root logger with zero XML — activated only when the ambient environment actually configures ntfy. - NtfyLogbackConfigurator() - Constructor for class io.github.pimak.ntfy.logback.NtfyLogbackConfigurator
- NtfyLogbackInstaller - Class in io.github.pimak.ntfy.micronaut
-
Installs the ntfy appender named
"ntfy-auto"on the root Logback logger once the Micronaut context has started, and detaches it again on shutdown. - NtfyLogbackInstaller(NtfyConfiguration) - Constructor for class io.github.pimak.ntfy.micronaut.NtfyLogbackInstaller
-
Creates the installer.
- NtfyMeterBinder - Class in io.github.pimak.ntfy.quarkus.runtime
-
Binds the ntfy pipeline observability counters to Micrometer as three
FunctionCounters:ntfy.pipeline.published,ntfy.pipeline.suppressed, andntfy.pipeline.failed— the same three meters, with the same names and meanings, that the Spring Boot starter exports. - NtfyMeterBinder() - Constructor for class io.github.pimak.ntfy.quarkus.runtime.NtfyMeterBinder
- NtfyProperties - Class in io.github.pimak.ntfy.spring
-
Binds all
ntfy.*application properties. - NtfyProperties() - Constructor for class io.github.pimak.ntfy.spring.NtfyProperties
- NtfyPublisher - Class in io.github.pimak.ntfy.core
-
Stateless, never-throws HTTP publisher for the ntfy wire format.
- NtfyPublisher(HttpClient) - Constructor for class io.github.pimak.ntfy.core.NtfyPublisher
- NtfyPublisher(HttpClient, Duration) - Constructor for class io.github.pimak.ntfy.core.NtfyPublisher
- NtfyRecorder - Class in io.github.pimak.ntfy.quarkus.runtime
-
Records the creation of the ntfy log
HandleratRUNTIME_INIT. - NtfyRecorder(RuntimeValue<NtfyRuntimeConfig>) - Constructor for class io.github.pimak.ntfy.quarkus.runtime.NtfyRecorder
-
The run-time config is injected through the recorder constructor.
- NtfyRuntimeConfig - Interface in io.github.pimak.ntfy.quarkus.runtime
-
Run-time configuration surface for the ntfy Quarkus extension, mapped from the
quarkus.ntfy.*config namespace. - NtfyStartupSelfTestException - Exception Class in io.github.pimak.ntfy.core
-
Thrown out of
AlertEngine.start()when the startup self-test fails andstartup-ping-fail-fastis enabled — the deliberate opt-in that turns a broken alerting configuration into a failed deployment rather than a silent one. - NtfyStartupSelfTestException(String) - Constructor for exception class io.github.pimak.ntfy.core.NtfyStartupSelfTestException
O
- of(String, String, long) - Static method in record class io.github.pimak.ntfy.core.AlertEvent
-
Convenience factory for the "no throwable, no markers" case:
causeChain,rootCauseFrames,markerNamesandmdcValuesdefault to empty collections, and the event is anAlertLevel.ERRORone. - OFF - Enum constant in enum class io.github.pimak.ntfy.core.StartupPingMode
-
No self-test.
- onApplicationEvent(StartupEvent) - Method in class io.github.pimak.ntfy.micronaut.NtfyLogbackInstaller
-
Installs the appender once the application context has started.
P
- parse(String) - Static method in class io.github.pimak.ntfy.core.DurationParser
-
Parses
valueinto aDuration. - password() - Method in interface io.github.pimak.ntfy.quarkus.runtime.NtfyRuntimeConfig
-
Basic-auth password.
- password(String) - Method in class io.github.pimak.ntfy.core.NtfyConfig.Builder
- PipelineCounters - Class in io.github.pimak.ntfy.core
-
Read-only, monotonic observability counters for the alert pipeline, letting operators "alert on the alerter" (e.g. a spike in
PipelineCounters.failed()signalling a revoked token or a topic ACL change). - PipelineCounters() - Constructor for class io.github.pimak.ntfy.core.PipelineCounters
- PipelineCounters.Snapshot - Record Class in io.github.pimak.ntfy.core
-
An immutable, point-in-time triple of the three counters.
- PROBE - Enum constant in enum class io.github.pimak.ntfy.core.StartupPingMode
-
Read-only reachability check —
GET {url}/{topic}/json?poll=1&since=none. - project(List<String>, Function<String, String>) - Static method in class io.github.pimak.ntfy.core.MdcProjector
-
Reads the allow-listed keys out of a logging context and returns the sanitized, bounded, configured-order map to render into an alert body.
- publish(String, String, String, AuthMode, String) - Method in class io.github.pimak.ntfy.core.NtfyPublisher
-
Deprecated.
- publish(String, String, String, AuthMode, String, String, String) - Method in class io.github.pimak.ntfy.core.NtfyPublisher
-
Deprecated.
- publish(String, String, String, AuthMode, String, String, String, String) - Method in class io.github.pimak.ntfy.core.NtfyPublisher
-
Deprecated.
- publish(String, String, String, AuthMode, String, String, String, String, String) - Method in class io.github.pimak.ntfy.core.NtfyPublisher
-
Deprecated.
- publish(LogRecord) - Method in class io.github.pimak.ntfy.jul.NtfyJulAutoHandler
- publish(LogRecord) - Method in class io.github.pimak.ntfy.jul.NtfyJulHandler
- PUBLISH - Enum constant in enum class io.github.pimak.ntfy.core.StartupPingMode
-
Posts a real low-priority test notification through the production publish path, so the exact code, headers and credentials that carry real alerts are exercised.
- published() - Method in class io.github.pimak.ntfy.core.PipelineCounters
-
Notifications actually accepted by ntfy (individual + digest publishes).
- published() - Method in record class io.github.pimak.ntfy.core.PipelineCounters.Snapshot
-
Returns the value of the
publishedrecord component. - PublishResult - Record Class in io.github.pimak.ntfy.core
- PublishResult(boolean, Integer, String) - Constructor for record class io.github.pimak.ntfy.core.PublishResult
-
Creates an instance of a
PublishResultrecord class.
R
- requestTimeout() - Method in interface io.github.pimak.ntfy.quarkus.runtime.NtfyRuntimeConfig
-
HTTP request timeout (ntfy duration spelling, e.g.
- requestTimeout(Duration) - Method in class io.github.pimak.ntfy.core.NtfyConfig.Builder
- requireHttpsForCredentials() - Method in interface io.github.pimak.ntfy.quarkus.runtime.NtfyRuntimeConfig
-
Strict mode: refuse engine activation (rather than only warn) when credentials would be sent over a cleartext
http://endpoint. - requireHttpsForCredentials(boolean) - Method in class io.github.pimak.ntfy.core.NtfyConfig.Builder
-
Toggles refusing activation when credentials would traverse a cleartext
http://endpoint. - rootCauseFrames() - Method in record class io.github.pimak.ntfy.core.AlertEvent
-
Returns the value of the
rootCauseFramesrecord component.
S
- setActions(String) - Method in class io.github.pimak.ntfy.log4j2.NtfyLog4j2Appender.Builder
-
Action buttons as a raw ntfy
Actionsheader value (short format, e.g. - setActions(String) - Method in class io.github.pimak.ntfy.logback.LogbackAlertAppender
-
Action buttons as a raw ntfy
Actionsheader value (short format, e.g. - setActions(String) - Method in class io.github.pimak.ntfy.micronaut.NtfyConfiguration
-
Sets the raw ntfy
Actionsheader value. - setActions(String) - Method in class io.github.pimak.ntfy.spring.NtfyProperties
- setAppName(String) - Method in class io.github.pimak.ntfy.log4j2.NtfyLog4j2Appender.Builder
-
Application name used as the title prefix when no explicit title is set.
- setAppName(String) - Method in class io.github.pimak.ntfy.logback.LogbackAlertAppender
- setAppName(String) - Method in class io.github.pimak.ntfy.micronaut.NtfyConfiguration
-
Sets the application name.
- setAppName(String) - Method in class io.github.pimak.ntfy.spring.NtfyProperties
- setAsync(boolean) - Method in class io.github.pimak.ntfy.logback.LogbackAlertAppender
-
Asynchronous (offloaded) delivery: individual error alerts are handed to the engine's bounded work queue and published by a daemon worker, so a slow/unreachable ntfy server never blocks the logging thread.
- setAsync(boolean) - Method in class io.github.pimak.ntfy.micronaut.NtfyConfiguration
-
Turns asynchronous delivery on or off.
- setAsync(boolean) - Method in class io.github.pimak.ntfy.spring.NtfyProperties
- setAsync(String) - Method in class io.github.pimak.ntfy.log4j2.NtfyLog4j2Appender.Builder
-
Opt into asynchronous (offloaded) delivery: individual error alerts are handed to the engine's bounded work queue and published by a daemon worker, so a slow/unreachable ntfy server never blocks the logging thread.
- setAsyncQueueCapacity(int) - Method in class io.github.pimak.ntfy.logback.LogbackAlertAppender
-
Bounded async delivery queue capacity; only consulted when
asyncistrue. - setAsyncQueueCapacity(int) - Method in class io.github.pimak.ntfy.micronaut.NtfyConfiguration
-
Sets the bounded async delivery queue capacity.
- setAsyncQueueCapacity(int) - Method in class io.github.pimak.ntfy.spring.NtfyProperties
- setAsyncQueueCapacity(String) - Method in class io.github.pimak.ntfy.log4j2.NtfyLog4j2Appender.Builder
-
Bounded async delivery queue capacity; only consulted when
asyncis"true". - setCache(boolean) - Method in class io.github.pimak.ntfy.micronaut.NtfyConfiguration
-
Sets whether the server may cache published messages.
- setCache(boolean) - Method in class io.github.pimak.ntfy.spring.NtfyProperties
- setCache(String) - Method in class io.github.pimak.ntfy.log4j2.NtfyLog4j2Appender.Builder
-
falseasks the server not to store the message (Cache: no). - setCache(String) - Method in class io.github.pimak.ntfy.logback.LogbackAlertAppender
-
falseasks the server not to store the message (Cache: no). - setClickUrl(String) - Method in class io.github.pimak.ntfy.log4j2.NtfyLog4j2Appender.Builder
-
URL opened when a notification is tapped (ntfy
Clickheader). - setClickUrl(String) - Method in class io.github.pimak.ntfy.logback.LogbackAlertAppender
-
URL opened when a notification is tapped (ntfy
Clickheader). - setClickUrl(String) - Method in class io.github.pimak.ntfy.micronaut.NtfyConfiguration
-
Sets the click-through URL.
- setClickUrl(String) - Method in class io.github.pimak.ntfy.spring.NtfyProperties
- setConnectTimeout(String) - Method in class io.github.pimak.ntfy.log4j2.NtfyLog4j2Appender.Builder
-
HTTP connect timeout as a duration string (bare int = ms,
Nms/Ns/Nm/Nh/Nd, or ISO-8601). - setConnectTimeout(String) - Method in class io.github.pimak.ntfy.logback.LogbackAlertAppender
-
Accepts a duration string (bare int = ms,
Nms/Ns/Nm/Nh/Nd, or ISO-8601). - setConnectTimeout(Duration) - Method in class io.github.pimak.ntfy.micronaut.NtfyConfiguration
-
Sets the HTTP connect timeout.
- setConnectTimeout(Duration) - Method in class io.github.pimak.ntfy.spring.NtfyProperties
- setDigestPriority(String) - Method in class io.github.pimak.ntfy.log4j2.NtfyLog4j2Appender.Builder
-
ntfy
Priorityheader for the aggregated digest. - setDigestPriority(String) - Method in class io.github.pimak.ntfy.logback.LogbackAlertAppender
- setDigestPriority(String) - Method in class io.github.pimak.ntfy.micronaut.NtfyConfiguration
-
Sets the priority of digest notifications.
- setDigestPriority(String) - Method in class io.github.pimak.ntfy.spring.NtfyProperties
- setDigestTags(String) - Method in class io.github.pimak.ntfy.log4j2.NtfyLog4j2Appender.Builder
-
ntfy
Tagsheader for the aggregated digest. - setDigestTags(String) - Method in class io.github.pimak.ntfy.logback.LogbackAlertAppender
- setDigestTags(String) - Method in class io.github.pimak.ntfy.micronaut.NtfyConfiguration
-
Sets the tags attached to digest notifications.
- setDigestTags(String) - Method in class io.github.pimak.ntfy.spring.NtfyProperties
- setEnabled(boolean) - Method in class io.github.pimak.ntfy.logback.LogbackAlertAppender
- setEnabled(boolean) - Method in class io.github.pimak.ntfy.micronaut.NtfyConfiguration
-
Enables or disables the integration.
- setEnabled(boolean) - Method in class io.github.pimak.ntfy.spring.NtfyProperties
- setEnabled(String) - Method in class io.github.pimak.ntfy.log4j2.NtfyLog4j2Appender.Builder
-
Master switch;
"false"keeps the appender inert even with a complete configuration. - setErrorPriority(String) - Method in class io.github.pimak.ntfy.log4j2.NtfyLog4j2Appender.Builder
-
ntfy
Priorityheader for individual error alerts. - setErrorPriority(String) - Method in class io.github.pimak.ntfy.logback.LogbackAlertAppender
- setErrorPriority(String) - Method in class io.github.pimak.ntfy.micronaut.NtfyConfiguration
-
Sets the priority of individual error notifications.
- setErrorPriority(String) - Method in class io.github.pimak.ntfy.spring.NtfyProperties
- setErrorTags(String) - Method in class io.github.pimak.ntfy.log4j2.NtfyLog4j2Appender.Builder
-
ntfy
Tagsheader for individual error alerts. - setErrorTags(String) - Method in class io.github.pimak.ntfy.logback.LogbackAlertAppender
- setErrorTags(String) - Method in class io.github.pimak.ntfy.micronaut.NtfyConfiguration
-
Sets the tags attached to individual error notifications.
- setErrorTags(String) - Method in class io.github.pimak.ntfy.spring.NtfyProperties
- setExcludedExceptionTypes(String) - Method in class io.github.pimak.ntfy.log4j2.NtfyLog4j2Appender.Builder
-
A single comma-separated value of fully qualified exception class names.
- setExcludedExceptionTypes(String) - Method in class io.github.pimak.ntfy.logback.LogbackAlertAppender
-
Comma-separated fully qualified exception class names.
- setExcludedExceptionTypes(String) - Method in class io.github.pimak.ntfy.micronaut.NtfyConfiguration
-
Sets the comma-separated fully qualified exception class names excluded from alerting.
- setExcludedExceptionTypes(String) - Method in class io.github.pimak.ntfy.spring.NtfyProperties
- setExcludedLoggers(String) - Method in class io.github.pimak.ntfy.log4j2.NtfyLog4j2Appender.Builder
-
A single comma-separated value of logger-name prefixes to exclude from alerting.
- setExcludedLoggers(String) - Method in class io.github.pimak.ntfy.logback.LogbackAlertAppender
-
A single comma-separated value of logger-name prefixes to exclude from alerting.
- setExcludedLoggers(String) - Method in class io.github.pimak.ntfy.micronaut.NtfyConfiguration
-
Sets the comma-separated logger-name prefixes excluded from alerting.
- setExcludedLoggers(String) - Method in class io.github.pimak.ntfy.spring.NtfyProperties
- setFirebase(boolean) - Method in class io.github.pimak.ntfy.micronaut.NtfyConfiguration
-
Sets whether the server may forward published messages to FCM.
- setFirebase(boolean) - Method in class io.github.pimak.ntfy.spring.NtfyProperties
- setFirebase(String) - Method in class io.github.pimak.ntfy.log4j2.NtfyLog4j2Appender.Builder
-
falseasks the server not to forward the message to Firebase (Firebase: no). - setFirebase(String) - Method in class io.github.pimak.ntfy.logback.LogbackAlertAppender
-
falseasks the server not to forward the message to Firebase (Firebase: no). - setIcon(String) - Method in class io.github.pimak.ntfy.log4j2.NtfyLog4j2Appender.Builder
-
URL of the icon shown beside the notification (ntfy
Iconheader). - setIcon(String) - Method in class io.github.pimak.ntfy.logback.LogbackAlertAppender
-
URL of the icon shown beside the notification (ntfy
Iconheader). - setIcon(String) - Method in class io.github.pimak.ntfy.micronaut.NtfyConfiguration
-
Sets the notification icon URL.
- setIcon(String) - Method in class io.github.pimak.ntfy.spring.NtfyProperties
- setIconsByLogger(String) - Method in class io.github.pimak.ntfy.log4j2.NtfyLog4j2Appender.Builder
-
Per-logger icon overrides as
prefix=urlpairs separated by commas. - setIconsByLogger(String) - Method in class io.github.pimak.ntfy.logback.LogbackAlertAppender
-
Per-logger icon overrides as
prefix=urlpairs separated by commas. - setIconsByLogger(String) - Method in class io.github.pimak.ntfy.micronaut.NtfyConfiguration
-
Sets the per-logger icon overrides.
- setIconsByLogger(String) - Method in class io.github.pimak.ntfy.spring.NtfyProperties
- setIncludeMdcKeys(String) - Method in class io.github.pimak.ntfy.log4j2.NtfyLog4j2Appender.Builder
-
A single comma-separated allow-list of MDC keys whose values are rendered into alert bodies, one
key: valueline each. - setIncludeMdcKeys(String) - Method in class io.github.pimak.ntfy.logback.LogbackAlertAppender
-
A comma-separated allow-list of MDC keys rendered into alert bodies, one
key: valueline each, in the order given here. - setIncludeMdcKeys(String) - Method in class io.github.pimak.ntfy.micronaut.NtfyConfiguration
-
Sets the comma-separated allow-list of MDC keys rendered into alert bodies.
- setIncludeMdcKeys(String) - Method in class io.github.pimak.ntfy.spring.NtfyProperties
- setLocale(String) - Method in class io.github.pimak.ntfy.log4j2.NtfyLog4j2Appender.Builder
-
Language of notification bodies and diagnostics as a BCP 47 tag (e.g.
- setLocale(String) - Method in class io.github.pimak.ntfy.logback.LogbackAlertAppender
-
Language of notification bodies and diagnostics as a BCP 47 tag (e.g.
- setLocale(String) - Method in class io.github.pimak.ntfy.micronaut.NtfyConfiguration
-
Sets the notification language as a BCP 47 tag.
- setLocale(String) - Method in class io.github.pimak.ntfy.spring.NtfyProperties
- setMaxAlertsPerWindow(int) - Method in class io.github.pimak.ntfy.logback.LogbackAlertAppender
- setMaxAlertsPerWindow(int) - Method in class io.github.pimak.ntfy.micronaut.NtfyConfiguration
-
Sets the per-window alert budget.
- setMaxAlertsPerWindow(int) - Method in class io.github.pimak.ntfy.spring.NtfyProperties
- setMaxAlertsPerWindow(String) - Method in class io.github.pimak.ntfy.log4j2.NtfyLog4j2Appender.Builder
-
Individual alerts allowed per suppression window before digesting kicks in (integer).
- setMaxStackFrames(int) - Method in class io.github.pimak.ntfy.logback.LogbackAlertAppender
- setMaxStackFrames(int) - Method in class io.github.pimak.ntfy.micronaut.NtfyConfiguration
-
Sets the number of stack frames included in a notification body.
- setMaxStackFrames(int) - Method in class io.github.pimak.ntfy.spring.NtfyProperties
- setMaxStackFrames(String) - Method in class io.github.pimak.ntfy.log4j2.NtfyLog4j2Appender.Builder
-
Maximum root-cause stack frames included in the notification body (integer).
- setPassword(String) - Method in class io.github.pimak.ntfy.log4j2.NtfyLog4j2Appender.Builder
-
Basic-authentication password.
- setPassword(String) - Method in class io.github.pimak.ntfy.logback.LogbackAlertAppender
- setPassword(String) - Method in class io.github.pimak.ntfy.micronaut.NtfyConfiguration
-
Sets the basic-authentication password.
- setPassword(String) - Method in class io.github.pimak.ntfy.spring.NtfyProperties
- setRequestTimeout(String) - Method in class io.github.pimak.ntfy.log4j2.NtfyLog4j2Appender.Builder
-
HTTP request timeout as a duration string (bare int = ms,
Nms/Ns/Nm/Nh/Nd, or ISO-8601). - setRequestTimeout(String) - Method in class io.github.pimak.ntfy.logback.LogbackAlertAppender
-
Accepts a duration string (bare int = ms,
Nms/Ns/Nm/Nh/Nd, or ISO-8601). - setRequestTimeout(Duration) - Method in class io.github.pimak.ntfy.micronaut.NtfyConfiguration
-
Sets the HTTP request timeout.
- setRequestTimeout(Duration) - Method in class io.github.pimak.ntfy.spring.NtfyProperties
- setRequireHttpsForCredentials(boolean) - Method in class io.github.pimak.ntfy.logback.LogbackAlertAppender
-
Strict mode: refuse engine activation (rather than only warn) when credentials would be sent over a cleartext
http://endpoint. - setRequireHttpsForCredentials(boolean) - Method in class io.github.pimak.ntfy.micronaut.NtfyConfiguration
-
Turns the strict credentials-over-HTTPS requirement on or off.
- setRequireHttpsForCredentials(boolean) - Method in class io.github.pimak.ntfy.spring.NtfyProperties
- setRequireHttpsForCredentials(String) - Method in class io.github.pimak.ntfy.log4j2.NtfyLog4j2Appender.Builder
-
Strict mode: refuse engine activation (rather than only warn) when credentials would be sent over a cleartext
http://endpoint. - setStartupPing(String) - Method in class io.github.pimak.ntfy.log4j2.NtfyLog4j2Appender.Builder
-
Opt-in startup self-test verifying at boot that the configured endpoint, credentials and topic actually work — instead of finding out when the first real error alert fails to deliver.
- setStartupPing(String) - Method in class io.github.pimak.ntfy.logback.LogbackAlertAppender
-
Opt-in startup self-test:
off(default),probe(read-only reachability check, publishes nothing) orpublish(a real low-priority test notification). - setStartupPing(String) - Method in class io.github.pimak.ntfy.micronaut.NtfyConfiguration
-
Selects the startup self-test mode.
- setStartupPing(String) - Method in class io.github.pimak.ntfy.spring.NtfyProperties
-
Bound as a
Stringrather than theStartupPingModeenum on purpose: Spring's relaxed binder throws on an unconvertible enum value, which would turn one typo inapplication.ymlinto a failed context refresh. - setStartupPingFailFast(boolean) - Method in class io.github.pimak.ntfy.logback.LogbackAlertAppender
-
When
true, a failed startup self-test aborts application startup instead of only warning. - setStartupPingFailFast(boolean) - Method in class io.github.pimak.ntfy.micronaut.NtfyConfiguration
-
Turns fail-fast on a failed startup self-test on or off.
- setStartupPingFailFast(boolean) - Method in class io.github.pimak.ntfy.spring.NtfyProperties
- setStartupPingFailFast(String) - Method in class io.github.pimak.ntfy.log4j2.NtfyLog4j2Appender.Builder
-
Whether a failed startup self-test aborts application startup instead of only warning.
- setStartupPingNotifyFailures(boolean) - Method in class io.github.pimak.ntfy.logback.LogbackAlertAppender
-
Whether a failed self-test is announced as a notification on a route that PASSED.
- setStartupPingNotifyFailures(boolean) - Method in class io.github.pimak.ntfy.micronaut.NtfyConfiguration
-
Turns the failure notification on or off.
- setStartupPingNotifyFailures(boolean) - Method in class io.github.pimak.ntfy.spring.NtfyProperties
- setStartupPingNotifyFailures(String) - Method in class io.github.pimak.ntfy.log4j2.NtfyLog4j2Appender.Builder
-
Whether a failed self-test is announced on a route that passed.
- setStartupPingWarn(String) - Method in class io.github.pimak.ntfy.log4j2.NtfyLog4j2Appender.Builder
-
Startup self-test for the optional WARN route, independent of
startupPing. - setStartupPingWarn(String) - Method in class io.github.pimak.ntfy.logback.LogbackAlertAppender
-
Startup self-test for the optional WARN route:
off(default),probeorpublish. - setStartupPingWarn(String) - Method in class io.github.pimak.ntfy.micronaut.NtfyConfiguration
-
Selects the WARN-route self-test mode; bound as a
Stringfor the same reason asNtfyConfiguration.setStartupPing(String). - setStartupPingWarn(String) - Method in class io.github.pimak.ntfy.spring.NtfyProperties
-
Bound as a
Stringfor the same reason asNtfyProperties.setStartupPing(String). - setSuppressionWindow(String) - Method in class io.github.pimak.ntfy.log4j2.NtfyLog4j2Appender.Builder
-
Length of the rate-limiting/digest window as a duration string (bare int = ms,
Nms/Ns/Nm/Nh/Nd, or ISO-8601). - setSuppressionWindow(String) - Method in class io.github.pimak.ntfy.logback.LogbackAlertAppender
-
Accepts a duration string (bare int = ms,
Nms/Ns/Nm/Nh/Nd, or ISO-8601). - setSuppressionWindow(Duration) - Method in class io.github.pimak.ntfy.micronaut.NtfyConfiguration
-
Sets the storm-suppression window.
- setSuppressionWindow(Duration) - Method in class io.github.pimak.ntfy.spring.NtfyProperties
- setTitle(String) - Method in class io.github.pimak.ntfy.log4j2.NtfyLog4j2Appender.Builder
-
Fixed notification title; overrides the derived
appName - RootCausetitle. - setTitle(String) - Method in class io.github.pimak.ntfy.logback.LogbackAlertAppender
- setTitle(String) - Method in class io.github.pimak.ntfy.micronaut.NtfyConfiguration
-
Sets the fixed notification title.
- setTitle(String) - Method in class io.github.pimak.ntfy.spring.NtfyProperties
- setToken(String) - Method in class io.github.pimak.ntfy.log4j2.NtfyLog4j2Appender.Builder
-
Bearer token authentication (takes precedence over username/password).
- setToken(String) - Method in class io.github.pimak.ntfy.logback.LogbackAlertAppender
- setToken(String) - Method in class io.github.pimak.ntfy.micronaut.NtfyConfiguration
-
Sets the bearer access token.
- setToken(String) - Method in class io.github.pimak.ntfy.spring.NtfyProperties
- setTopic(String) - Method in class io.github.pimak.ntfy.log4j2.NtfyLog4j2Appender.Builder
-
Topic alerts are published to.
- setTopic(String) - Method in class io.github.pimak.ntfy.logback.LogbackAlertAppender
- setTopic(String) - Method in class io.github.pimak.ntfy.micronaut.NtfyConfiguration
-
Sets the ntfy topic.
- setTopic(String) - Method in class io.github.pimak.ntfy.spring.NtfyProperties
- setUrl(String) - Method in class io.github.pimak.ntfy.log4j2.NtfyLog4j2Appender.Builder
-
Base URL of the ntfy server, e.g.
- setUrl(String) - Method in class io.github.pimak.ntfy.logback.LogbackAlertAppender
- setUrl(String) - Method in class io.github.pimak.ntfy.micronaut.NtfyConfiguration
-
Sets the ntfy server base URL.
- setUrl(String) - Method in class io.github.pimak.ntfy.spring.NtfyProperties
- setUsername(String) - Method in class io.github.pimak.ntfy.log4j2.NtfyLog4j2Appender.Builder
-
Basic-authentication user name.
- setUsername(String) - Method in class io.github.pimak.ntfy.logback.LogbackAlertAppender
- setUsername(String) - Method in class io.github.pimak.ntfy.micronaut.NtfyConfiguration
-
Sets the basic-authentication username.
- setUsername(String) - Method in class io.github.pimak.ntfy.spring.NtfyProperties
- setWarnPriority(String) - Method in class io.github.pimak.ntfy.log4j2.NtfyLog4j2Appender.Builder
-
ntfy
Priorityheader for WARN alerts and the WARN digest; defaultdefault. - setWarnPriority(String) - Method in class io.github.pimak.ntfy.logback.LogbackAlertAppender
-
ntfy
Priorityheader for WARN alerts and the WARN digest; defaultdefault. - setWarnPriority(String) - Method in class io.github.pimak.ntfy.micronaut.NtfyConfiguration
- setWarnPriority(String) - Method in class io.github.pimak.ntfy.spring.NtfyProperties
- setWarnTags(String) - Method in class io.github.pimak.ntfy.log4j2.NtfyLog4j2Appender.Builder
-
ntfy
Tagsheader for WARN alerts and the WARN digest; defaultwarning. - setWarnTags(String) - Method in class io.github.pimak.ntfy.logback.LogbackAlertAppender
-
ntfy
Tagsheader for WARN alerts and the WARN digest; defaultwarning. - setWarnTags(String) - Method in class io.github.pimak.ntfy.micronaut.NtfyConfiguration
- setWarnTags(String) - Method in class io.github.pimak.ntfy.spring.NtfyProperties
- setWarnTopic(String) - Method in class io.github.pimak.ntfy.log4j2.NtfyLog4j2Appender.Builder
-
The topic WARN-level events are published to.
- setWarnTopic(String) - Method in class io.github.pimak.ntfy.logback.LogbackAlertAppender
-
The topic WARN-level events are published to.
- setWarnTopic(String) - Method in class io.github.pimak.ntfy.micronaut.NtfyConfiguration
- setWarnTopic(String) - Method in class io.github.pimak.ntfy.spring.NtfyProperties
- snapshot() - Method in class io.github.pimak.ntfy.core.PipelineCounters
-
A single read of all three counters.
- Snapshot(long, long, long) - Constructor for record class io.github.pimak.ntfy.core.PipelineCounters.Snapshot
-
Creates an instance of a
Snapshotrecord class. - start() - Method in class io.github.pimak.ntfy.core.AlertEngine
-
url+topic both blank (or engine disabled) -> silently inactive (
info,isStarted()==false). - start() - Method in class io.github.pimak.ntfy.log4j2.NtfyLog4j2Appender
-
Builds an
AlertEnginefrom the injected config (if present) or from the plugin attributes, starts it, and marks this appender started ONLY if the engine actually activated. - start() - Method in class io.github.pimak.ntfy.logback.LogbackAlertAppender
-
Builds an
AlertEnginefrom the injected config (if present) or from the JavaBean setters, starts it, and marks this appender started ONLY if the engine actually activated. - startupPing() - Method in interface io.github.pimak.ntfy.quarkus.runtime.NtfyRuntimeConfig
-
Opt-in startup self-test:
off(default),probe(read-only reachability check that publishes nothing) orpublish(a real low-priority test notification). - startupPing(StartupPingMode) - Method in class io.github.pimak.ntfy.core.NtfyConfig.Builder
-
Selects the opt-in startup self-test mode (see
NtfyConfig.getStartupPing()). - startupPing(String) - Method in class io.github.pimak.ntfy.core.NtfyConfig.Builder
-
Convenience overload parsing a configured string (
off/probe/publish, case-insensitive) so the XML and properties surfaces bind without carrying their own parser. - startupPingFailFast() - Method in interface io.github.pimak.ntfy.quarkus.runtime.NtfyRuntimeConfig
-
Whether a failed startup self-test aborts application startup instead of only warning.
- startupPingFailFast(boolean) - Method in class io.github.pimak.ntfy.core.NtfyConfig.Builder
-
Toggles aborting application startup when the self-test fails; see
NtfyConfig.isStartupPingFailFast(). - StartupPingMode - Enum Class in io.github.pimak.ntfy.core
-
What the opt-in startup self-test does when
AlertEngine.start()finishes activating. - startupPingNotifyFailures() - Method in interface io.github.pimak.ntfy.quarkus.runtime.NtfyRuntimeConfig
-
Whether a failed self-test is announced as a notification on a route that PASSED.
- startupPingNotifyFailures(boolean) - Method in class io.github.pimak.ntfy.core.NtfyConfig.Builder
-
Toggles announcing a failed self-test on a route that passed; see
NtfyConfig.isStartupPingNotifyFailures(). - startupPingWarn() - Method in interface io.github.pimak.ntfy.quarkus.runtime.NtfyRuntimeConfig
-
Startup self-test for the optional WARN route:
off(default),probeorpublish. - startupPingWarn(StartupPingMode) - Method in class io.github.pimak.ntfy.core.NtfyConfig.Builder
-
Selects the startup self-test mode for the WARN route (see
NtfyConfig.getStartupPingWarn()). - startupPingWarn(String) - Method in class io.github.pimak.ntfy.core.NtfyConfig.Builder
-
Lenient string overload for
startup-ping-warn; seeNtfyConfig.Builder.startupPing(String). - stop() - Method in class io.github.pimak.ntfy.core.AlertEngine
-
Releases every resource
AlertEngine.start()acquired. - stop() - Method in class io.github.pimak.ntfy.logback.LogbackAlertAppender
-
Tears the engine down (flushing any pending digest) and marks this appender stopped.
- stop(long, TimeUnit) - Method in class io.github.pimak.ntfy.log4j2.NtfyLog4j2Appender
-
Tears the engine down — which flushes any pending digest and drains the async queue — and then delegates to
super.stopfor the normal appender/filter shutdown. - submit(AlertEvent) - Method in class io.github.pimak.ntfy.core.AlertEngine
-
Assembles the alert payload, delegates to
NtfyPublisher.publish(java.lang.String, java.lang.String, java.lang.String, io.github.pimak.ntfy.core.AuthMode, java.lang.String), and reports any failure exclusively through the injectedDiagnostics— never an SLF4J logger, never the token. - success() - Method in record class io.github.pimak.ntfy.core.PublishResult
-
Returns the value of the
successrecord component. - success(int) - Static method in record class io.github.pimak.ntfy.core.PublishResult
- suppressed() - Method in record class io.github.pimak.ntfy.core.PipelineCounters.Snapshot
-
Returns the value of the
suppressedrecord component. - suppressed() - Method in class io.github.pimak.ntfy.core.PipelineCounters
-
Events rejected by the rate-limiter gate (over the per-window allowance).
- suppressionWindow() - Method in interface io.github.pimak.ntfy.quarkus.runtime.NtfyRuntimeConfig
-
Storm-suppression window (ntfy duration spelling, e.g.
- suppressionWindow(Duration) - Method in class io.github.pimak.ntfy.core.NtfyConfig.Builder
T
- timestampMillis() - Method in record class io.github.pimak.ntfy.core.AlertEvent
-
Returns the value of the
timestampMillisrecord component. - title() - Method in interface io.github.pimak.ntfy.quarkus.runtime.NtfyRuntimeConfig
-
Fixed notification title; falls back to
NtfyRuntimeConfig.appName()when unset. - title(String) - Method in class io.github.pimak.ntfy.core.NtfyConfig.Builder
- token() - Method in interface io.github.pimak.ntfy.quarkus.runtime.NtfyRuntimeConfig
-
Bearer/access token (ntfy
tk_...); takes precedence over username/password. - token(String) - Method in class io.github.pimak.ntfy.core.NtfyConfig.Builder
- topic() - Method in interface io.github.pimak.ntfy.quarkus.runtime.NtfyRuntimeConfig
-
Topic to publish to.
- topic(String) - Method in class io.github.pimak.ntfy.core.NtfyConfig.Builder
- toString() - Method in record class io.github.pimak.ntfy.core.AlertEvent.Cause
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.pimak.ntfy.core.AlertEvent
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.pimak.ntfy.core.NtfyAction.Broadcast
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.pimak.ntfy.core.NtfyAction.BroadcastExtra
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.pimak.ntfy.core.NtfyAction.Http
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.pimak.ntfy.core.NtfyAction.HttpHeader
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.pimak.ntfy.core.NtfyAction.View
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.pimak.ntfy.core.PipelineCounters.Snapshot
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.pimak.ntfy.core.PublishResult
-
Returns a string representation of this record class.
U
- uninstall() - Method in class io.github.pimak.ntfy.micronaut.NtfyLogbackInstaller
-
Stops the installed appender and detaches it from the root logger on context shutdown.
- uninstall(Logger, NtfyJulHandler) - Static method in class io.github.pimak.ntfy.jul.NtfyJulInstaller
-
Detaches
handlerfromloggerand stops its engine. - uninstall(LoggerContext, NtfyLog4j2Appender) - Static method in class io.github.pimak.ntfy.log4j2.NtfyLog4j2Installer
-
Reverses
NtfyLog4j2Installer.install(LoggerContext): deregisters the reconfiguration listener, detaches the appender from the root logger by name, refreshes the loggers and stops the appender (which flushes any pending digest and drains the async queue). - url() - Method in record class io.github.pimak.ntfy.core.NtfyAction.Http
-
Returns the value of the
urlrecord component. - url() - Method in record class io.github.pimak.ntfy.core.NtfyAction.View
-
Returns the value of the
urlrecord component. - url() - Method in interface io.github.pimak.ntfy.quarkus.runtime.NtfyRuntimeConfig
-
Base URL of the ntfy server, e.g.
- url(String) - Method in class io.github.pimak.ntfy.core.NtfyConfig.Builder
- username() - Method in interface io.github.pimak.ntfy.quarkus.runtime.NtfyRuntimeConfig
-
Basic-auth username (used with
NtfyRuntimeConfig.password()when noNtfyRuntimeConfig.token()is set). - username(String) - Method in class io.github.pimak.ntfy.core.NtfyConfig.Builder
V
- value() - Method in record class io.github.pimak.ntfy.core.NtfyAction.BroadcastExtra
-
Returns the value of the
valuerecord component. - value() - Method in record class io.github.pimak.ntfy.core.NtfyAction.HttpHeader
-
Returns the value of the
valuerecord component. - valueOf(String) - Static method in enum class io.github.pimak.ntfy.core.AlertLevel
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.github.pimak.ntfy.core.StartupPingMode
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class io.github.pimak.ntfy.core.AlertLevel
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.github.pimak.ntfy.core.StartupPingMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- view(String, String) - Static method in interface io.github.pimak.ntfy.core.NtfyAction
-
A
viewaction openingurlwhen tapped. - view(String, String, boolean) - Static method in interface io.github.pimak.ntfy.core.NtfyAction
-
A
viewaction openingurl;cleardismisses the notification on tap. - View(String, String, boolean) - Constructor for record class io.github.pimak.ntfy.core.NtfyAction.View
-
Creates an instance of a
Viewrecord class.
W
- warn(String) - Method in interface io.github.pimak.ntfy.core.Diagnostics
-
Records a warning (partial config, a publish failure, an invalid window fallback, ...).
- WARN - Enum constant in enum class io.github.pimak.ntfy.core.AlertLevel
-
Warning-level.
- warnPriority() - Method in interface io.github.pimak.ntfy.quarkus.runtime.NtfyRuntimeConfig
-
ntfy priority header for WARN alerts and the WARN digest.
- warnPriority(String) - Method in class io.github.pimak.ntfy.core.NtfyConfig.Builder
-
ntfy
Priorityheader for WARN alerts and the WARN digest; defaultdefault. - warnTags() - Method in interface io.github.pimak.ntfy.quarkus.runtime.NtfyRuntimeConfig
-
ntfy tags header for WARN alerts and the WARN digest.
- warnTags(String) - Method in class io.github.pimak.ntfy.core.NtfyConfig.Builder
-
ntfy
Tagsheader for WARN alerts and the WARN digest; defaultwarning. - warnTopic() - Method in interface io.github.pimak.ntfy.quarkus.runtime.NtfyRuntimeConfig
-
The ntfy topic WARN-level events are published to.
- warnTopic(String) - Method in class io.github.pimak.ntfy.core.NtfyConfig.Builder
-
The topic WARN-level events are published to.
- warnTopicFromClasspathFile(boolean) - Method in class io.github.pimak.ntfy.core.NtfyConfig.Builder
-
See
NtfyConfig.isWarnTopicFromClasspathFile(); set byConfigLoaderonly. - withLevel(AlertLevel) - Method in record class io.github.pimak.ntfy.core.AlertEvent
-
Returns a copy of this event on
level, leaving every other component untouched.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form