Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for addUpdateConfigListener (0.14 sec)

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

            assertFalse(helper2.isEoled());
        }
    
        public void test_updateConfiguration() {
            assertNotNull(systemHelper.updateConfiguration());
            systemHelper.addUpdateConfigListener("XXX", () -> "OK");
            assertTrue(systemHelper.updateConfiguration().contains("XXX: OK"));
        }
    
        public void test_isChangedClusterState() {
            systemHelper.isChangedClusterState(0);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/SystemHelper.java

                    buf.append(ex.getMessage());
                }
                buf.append('\n');
            });
            return buf.toString();
        }
    
        public void addUpdateConfigListener(final String name, final Supplier<String> listener) {
            updateConfigListenerMap.put(name, listener);
        }
    
        public boolean isChangedClusterState(final int status) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 17 12:10:08 UTC 2024
    - 27.2K bytes
    - Viewed (0)
Back to top