Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 101 for SystemHelper (0.1 sec)

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

    import com.google.common.cache.LoadingCache;
    import com.ibm.icu.util.ULocale;
    
    import jakarta.annotation.PostConstruct;
    import jakarta.annotation.PreDestroy;
    
    public class SystemHelper {
    
        private static final Logger logger = LogManager.getLogger(SystemHelper.class);
    
        protected final Map<String, String> designJspFileNameMap = new LinkedHashMap<>();
    
        protected final AtomicBoolean forceStop = new AtomicBoolean(false);
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 17 12:10:08 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/helper/SystemHelperTest.java

                systemHelper.setLogLevel("INFO");
                assertEquals("INFO", systemHelper.getLogLevel());
                systemHelper.setLogLevel("WARN");
                assertEquals("WARN", systemHelper.getLogLevel());
                systemHelper.setLogLevel("ERROR");
                assertEquals("ERROR", systemHelper.getLogLevel());
            } finally {
                systemHelper.setLogLevel(logLevel);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/base/login/OpenIdConnectCredential.java

                if (permissions == null) {
                    final SystemHelper systemHelper = ComponentUtil.getSystemHelper();
                    final Set<String> permissionSet = new HashSet<>();
                    permissionSet.add(systemHelper.getSearchRoleByUser(name));
                    stream(groups).of(stream -> stream.forEach(s -> permissionSet.add(systemHelper.getSearchRoleByGroup(s))));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/log/AdminLogAction.java

            return redirect(getClass()); // no-op
        }
    
        public static List<Map<String, Object>> getLogFileItems() {
            final SystemHelper systemHelper = ComponentUtil.getSystemHelper();
            final List<Map<String, Object>> logFileItems = new ArrayList<>();
            final String logFilePath = systemHelper.getLogFilePath();
            if (StringUtil.isNotBlank(logFilePath)) {
                final Path logDirPath = Paths.get(logFilePath);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/es/config/exentity/WebConfigTest.java

                }
            };
            ComponentUtil.setFessConfig(fessConfig);
            SystemHelper systemHelper = new SystemHelper() {
                @Override
                public String getProductVersion() {
                    return "98.76";
                }
            };
            ComponentUtil.register(systemHelper, "systemHelper");
            WebAuthenticationService webAuthenticationService = new WebAuthenticationService() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu May 09 09:48:04 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/job/PingSearchEngineJob.java

            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            final SystemHelper systemHelper = ComponentUtil.getSystemHelper();
    
            final StringBuilder resultBuf = new StringBuilder();
    
            final PingResponse ping = searchEngineClient.ping();
            final int status = ping.getStatus();
            if (systemHelper.isChangedClusterState(status)) {
                if (fessConfig.hasNotification()) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/backup/AdminBackupAction.java

                        }
                        if (!systemHelper.calibrateCpuLoad(timeout)) {
                            breakCursor = true;
                        }
                    }
                });
            };
        }
    
        public static Consumer<Writer> getUserInfoNdjsonWriteCall() {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            final SystemHelper systemHelper = ComponentUtil.getSystemHelper();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/upgrade/AdminUpgradeAction.java

        @Override
        protected void setupHtmlData(final ActionRuntime runtime) {
            super.setupHtmlData(runtime);
            runtime.registerData("helpLink", systemHelper.getHelpLink(fessConfig.getOnlineHelpNameUpgrade()));
        }
    
        @Override
        protected String getActionRole() {
            return ROLE;
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 54K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/duplicatehost/AdminDuplicatehostAction.java

        }
    
        public static OptionalEntity<DuplicateHost> getDuplicateHost(final CreateForm form) {
            final SystemHelper systemHelper = ComponentUtil.getSystemHelper();
            final String username = systemHelper.getUsername();
            final long currentTime = systemHelper.getCurrentTimeAsLong();
            return getEntity(form, username, currentTime).map(entity -> {
                entity.setUpdatedBy(username);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/keymatch/AdminKeymatchAction.java

            return OptionalEntity.empty();
        }
    
        public static OptionalEntity<KeyMatch> getKeyMatch(final CreateForm form) {
            final SystemHelper systemHelper = ComponentUtil.getSystemHelper();
            final String username = systemHelper.getUsername();
            final long currentTime = systemHelper.getCurrentTimeAsLong();
            return getEntity(form, username, currentTime).map(entity -> {
                entity.setUpdatedBy(username);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 13.5K bytes
    - Viewed (0)
Back to top