Class AlhAlertAutoConfiguration
java.lang.Object
com.github.catomat0.aoploghelper.alert.autoconfigure.AlhAlertAutoConfiguration
@AutoConfiguration
@ConditionalOnClass(ch.qos.logback.classic.LoggerContext.class)
@ConditionalOnProperty(prefix="alh.alert",
name="enabled",
havingValue="true")
@EnableConfigurationProperties(AlhAlertProperties.class)
public class AlhAlertAutoConfiguration
extends Object
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionalhAlertRateLimiter(AlhAlertProperties properties) alhWebhookAppenderRegistrar(AlhAlertProperties properties, WebhookClient client, AlertRateLimiter rateLimiter) alhWebhookClient(AlhAlertProperties properties)
-
Constructor Details
-
AlhAlertAutoConfiguration
public AlhAlertAutoConfiguration()
-
-
Method Details
-
alhAlertRateLimiter
@Bean @ConditionalOnMissingBean public AlertRateLimiter alhAlertRateLimiter(AlhAlertProperties properties) -
alhWebhookClient
@Bean @ConditionalOnMissingBean public WebhookClient alhWebhookClient(AlhAlertProperties properties) -
alhWebhookAppenderRegistrar
@Bean public AlhAlertAutoConfiguration.AlhWebhookAppenderRegistrar alhWebhookAppenderRegistrar(AlhAlertProperties properties, WebhookClient client, AlertRateLimiter rateLimiter)
-