de.codecentric.boot.admin.server.notify.filter.FilteringNotifier Java Examples

The following examples show how to use de.codecentric.boot.admin.server.notify.filter.FilteringNotifier. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: AdminServerNotifierAutoConfiguration.java    From Moss with Apache License 2.0 4 votes vote down vote up
public FilteringNotifierWebConfiguration(FilteringNotifier filteringNotifier) {
    this.filteringNotifier = filteringNotifier;
}
 
Example #2
Source File: NotificationFilterController.java    From Moss with Apache License 2.0 4 votes vote down vote up
public NotificationFilterController(FilteringNotifier filteringNotifier) {
    this.filteringNotifier = filteringNotifier;
}
 
Example #3
Source File: NotifierConfiguration.java    From spring-boot-start-current with Apache License 2.0 4 votes vote down vote up
@Bean
public FilteringNotifier filteringNotifier () {
	CompositeNotifier delegate = new CompositeNotifier( otherNotifiers.getIfAvailable( Collections::emptyList ) );
	return new FilteringNotifier( delegate , repository );
}
 
Example #4
Source File: AdminServerNotifierAutoConfiguration.java    From spring-boot-admin with Apache License 2.0 4 votes vote down vote up
public FilteringNotifierWebConfiguration(FilteringNotifier filteringNotifier) {
	this.filteringNotifier = filteringNotifier;
}
 
Example #5
Source File: NotificationFilterController.java    From spring-boot-admin with Apache License 2.0 4 votes vote down vote up
public NotificationFilterController(FilteringNotifier filteringNotifier) {
	this.filteringNotifier = filteringNotifier;
}
 
Example #6
Source File: NotifierConfig.java    From spring-boot-admin with Apache License 2.0 4 votes vote down vote up
@Bean
public FilteringNotifier filteringNotifier() { // <1>
	CompositeNotifier delegate = new CompositeNotifier(this.otherNotifiers.getIfAvailable(Collections::emptyList));
	return new FilteringNotifier(delegate, this.repository);
}
 
Example #7
Source File: NotifierConfiguration.java    From tutorials with MIT License 4 votes vote down vote up
@Bean
public FilteringNotifier filteringNotifier() {
    CompositeNotifier delegate = new CompositeNotifier(this.otherNotifiers.getIfAvailable(Collections::emptyList));
    return new FilteringNotifier(delegate, this.repository);
}
 
Example #8
Source File: NotifierConfigurationIntegrationTest.java    From tutorials with MIT License 4 votes vote down vote up
@Test
public void whenApplicationContextStart_ThenFilteringNotifierBeanExists() {
    FilteringNotifier filteringNotifier = (FilteringNotifier) applicationContext.getBean("filteringNotifier");
    assertNotEquals(filteringNotifier, null);
}