Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 11 for NotificationHelper (0.17 seconds)

  1. src/main/java/org/codelibs/fess/helper/NotificationHelper.java

    /**
     * Helper class for sending notifications to various platforms.
     */
    public class NotificationHelper {
    
        /**
         * Default constructor.
         */
        public NotificationHelper() {
            // Default constructor
        }
    
        private static final Logger logger = LogManager.getLogger(NotificationHelper.class);
    
        /** Line feed character for message formatting. */
        protected static final char LF = '\n';
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  2. 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)
  3. src/main/java/org/codelibs/fess/job/PingSearchEngineJob.java

                    }
                    final Postbox postbox = ComponentUtil.getComponent(Postbox.class);
                    try {
                        final NotificationHelper notificationHelper = ComponentUtil.getNotificationHelper();
                        SMailCallbackContext.setPreparedMessageHookOnThread(notificationHelper::send);
                        EsStatusPostcard.droppedInto(postbox, postcard -> {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/job/LogNotificationJob.java

                }
    
                final Postbox postbox = ComponentUtil.getComponent(Postbox.class);
                final NotificationHelper notificationHelper = ComponentUtil.getNotificationHelper();
                try {
                    SMailCallbackContext.setPreparedMessageHookOnThread(notificationHelper::send);
                    LogNotificationPostcard.droppedInto(postbox, postcard -> {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 9.4K bytes
    - Click Count (0)
  5. 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)
  6. 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)
  7. 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)
  8. src/main/resources/fess.xml

    	</component>
    	<component name="indexingHelper" class="org.codelibs.fess.helper.IndexingHelper">
    	</component>
    	<component name="notificationHelper" class="org.codelibs.fess.helper.NotificationHelper">
    	</component>
    	<component name="logNotificationHelper" class="org.codelibs.fess.helper.LogNotificationHelper">
    	</component>
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 5.5K bytes
    - Click Count (0)
  9. 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)
  10. src/main/java/org/codelibs/fess/util/LogNotificationAppender.java

        private static final int MAX_THROWABLE_LENGTH = 500;
    
        private static final Set<String> EXCLUDED_LOGGERS = Set.of( //
                "org.codelibs.fess.helper.NotificationHelper", //
                "org.codelibs.fess.util.LogNotificationAppender", //
                "org.codelibs.fess.job.LogNotificationJob", //
                "org.codelibs.fess.timer.LogNotificationTarget", //
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 6K bytes
    - Click Count (0)
Back to Top