Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getSlackWebhookUrls (0.06 sec)

  1. src/test/java/org/codelibs/fess/helper/NotificationHelperTest.java

            // Setup mock configuration with blank webhook URLs
            ComponentUtil.setFessConfig(new MockFessConfig() {
                @Override
                public String getSlackWebhookUrls() {
                    return "";
                }
            });
    
            MockSMailPostingDiscloser discloser = new MockSMailPostingDiscloser();
    
            // Should return early without doing anything
            try {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 19.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/NotificationHelper.java

            // https://api.slack.com/messaging/webhooks#posting_with_webhooks
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            final String slackWebhookUrls = fessConfig.getSlackWebhookUrls();
            if (StringUtil.isBlank(slackWebhookUrls)) {
                return;
            }
            final String body = toSlackMessage(discloser);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

        default boolean hasNotification() {
            return StringUtil.isNotBlank(getNotificationTo()) || StringUtil.isNotBlank(getSlackWebhookUrls());
        }
    
        default void setSlackWebhookUrls(final String value) {
            setSystemProperty(Constants.SLACK_WEBHOOK_URLS_PROPERTY, value);
        }
    
        default String getSlackWebhookUrls() {
            return getSystemProperty(Constants.SLACK_WEBHOOK_URLS_PROPERTY, StringUtil.EMPTY);
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 86.5K bytes
    - Viewed (0)
Back to top