Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 6 of 6 for NotificationHelper (0.08 seconds)

  1. src/test/java/org/codelibs/fess/job/PingSearchEngineJobTest.java

                public String getHostname() {
                    return "test-hostname";
                }
            };
    
            FessConfig fessConfig = createTestFessConfig();
    
            NotificationHelper notificationHelper = new NotificationHelper() {
                // Mock send method
                public void send(final Object postcard) {
                    // Mock implementation
                }
            };
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 18.9K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/exec/CrawlerTest.java

            notificationHelper = new NotificationHelper() {
                @Override
                public void send(CardView cardView, SMailPostingDiscloser discloser) {
                    // Mock implementation
                }
            };
            ComponentUtil.register(notificationHelper, "notificationHelper");
    
            postbox = new Postbox() {
                // Mock implementation
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 30.8K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/helper/NotificationHelperTest.java

    import org.junit.jupiter.api.TestInfo;
    
    public class NotificationHelperTest extends UnitFessTestCase {
    
        private NotificationHelper notificationHelper;
    
        @Override
        protected void setUp(TestInfo testInfo) throws Exception {
            super.setUp(testInfo);
            notificationHelper = new NotificationHelper();
        }
    
        @Test
        public void test_sendToSlack_withBlankWebhookUrls() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 20K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/util/ComponentUtil.java

    import org.codelibs.fess.helper.LanguageHelper;
    import org.codelibs.fess.helper.LogNotificationHelper;
    import org.codelibs.fess.helper.MarkdownRenderer;
    import org.codelibs.fess.helper.NotificationHelper;
    import org.codelibs.fess.helper.PathMappingHelper;
    import org.codelibs.fess.helper.PermissionHelper;
    import org.codelibs.fess.helper.PluginHelper;
    import org.codelibs.fess.helper.PopularWordHelper;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 30.9K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/exec/Crawler.java

                    } else {
                        toAddresses = StringUtil.EMPTY_STRINGS;
                    }
                    final NotificationHelper notificationHelper = ComponentUtil.getNotificationHelper();
                    SMailCallbackContext.setPreparedMessageHookOnThread(notificationHelper::send);
                    CrawlerPostcard.droppedInto(postbox, postcard -> {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 32.4K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/util/LogNotificationAppenderTest.java

            assertEquals(0, events.size());
        }
    
        @Test
        public void test_append_excludedLogger_notificationHelper() {
            final LogEvent event = createLogEvent(Level.ERROR, "org.codelibs.fess.helper.NotificationHelper", "should be excluded");
            appender.append(event);
    
            final List<LogNotificationEvent> events = ComponentUtil.getLogNotificationHelper().drainAll();
            assertEquals(0, events.size());
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 10.7K bytes
    - Click Count (0)
Back to Top