Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 85 for getAs (0.03 seconds)

  1. src/main/java/org/codelibs/fess/suggest/settings/SuggestSettings.java

            return getAs(key, defaultValue, s -> s);
        }
    
        /**
         * Retrieves a setting value as an int.
         * @param key The key of the setting.
         * @param defaultValue The default value if the setting is not found.
         * @return The setting value as an int.
         */
        public int getAsInt(final String key, final int defaultValue) {
            return getAs(key, defaultValue, Integer::parseInt);
        }
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Mar 14 02:35:38 GMT 2026
    - 18.7K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/util/ComponentUtil.java

                initProcesses.clear();
            }
        }
    
        /**
         * Gets a cached cipher by name.
         * @param cipherName The cipher name.
         * @return The cached cipher.
         */
        public static CachedCipher getCipher(final String cipherName) {
            return getComponent(cipherName);
        }
    
        /**
         * Gets the system properties.
         * @return The dynamic properties.
         */
    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)
  3. src/main/java/org/codelibs/fess/entity/ChatMessage.java

        }
    
        /**
         * Gets the message ID.
         *
         * @return the message ID
         */
        public String getId() {
            return id;
        }
    
        /**
         * Sets the message ID.
         *
         * @param id the message ID
         */
        public void setId(final String id) {
            this.id = id;
        }
    
        /**
         * Gets the message role.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 12 04:52:31 GMT 2026
    - 10.1K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/entity/HighlightInfo.java

            numOfFragments = fessConfig.getQueryHighlightNumberOfFragmentsAsInteger();
            fragmentOffset = fessConfig.getQueryHighlightFragmentOffsetAsInteger();
        }
    
        /**
         * Gets the highlighting type.
         *
         * @return the highlighting type
         */
        public String getType() {
            return type;
        }
    
        /**
         * Sets the highlighting type with fluent interface.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 05 10:17:07 GMT 2026
    - 5.2K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/suggest/util/MapValueExtractor.java

        }
    
        /**
         * Gets a String value from the map.
         *
         * @param map The source map
         * @param key The key to look up
         * @return The string value, or null if the key doesn't exist or value is null
         */
        public static String getString(final Map<String, Object> map, final String key) {
            return getString(map, key, null);
        }
    
        /**
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 9.8K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/suggest/settings/TimeoutSettings.java

        }
    
        /**
         * Gets the bulk timeout.
         * @return The bulk timeout.
         */
        public String getBulkTimeout() {
            return bulkTimeout;
        }
    
        /**
         * Sets the bulk timeout.
         * @param timeout The bulk timeout.
         */
        public void setBulkTimeout(final String timeout) {
            this.bulkTimeout = timeout;
        }
    
        /**
         * Gets the indices timeout.
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 3.5K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/curl/CurlResponse.java

            }
        }
    
        /**
         * Gets the content of the response using the provided parser function.
         *
         * @param <T> the type of the parsed content.
         * @param parser the function to parse the content.
         * @return the parsed content.
         */
        public <T> T getContent(final Function<CurlResponse, T> parser) {
            return parser.apply(this);
        }
    
        /**
         * Gets the content of the response as a string.
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Mar 21 09:11:12 GMT 2026
    - 6.8K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/helper/SystemHelper.java

                }
            });
        }
    
        /**
         * Gets the username of the current user.
         *
         * @return The username, or "guest" if not logged in.
         */
        public String getUsername() {
            return getRequestManager().findUserBean(FessUserBean.class).map(FessUserBean::getUserId).orElse(Constants.GUEST_USER);
        }
    
        /**
         * Gets the request manager.
         *
         * @return The request manager.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 43.2K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/llm/LlmChatRequest.java

         */
        public LlmChatRequest addAssistantMessage(final String content) {
            messages.add(LlmMessage.assistant(content));
            return this;
        }
    
        /**
         * Gets the messages in this request.
         *
         * @return the list of messages
         */
        public List<LlmMessage> getMessages() {
            return messages;
        }
    
        /**
         * Sets the messages in this request.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 05 03:38:31 GMT 2026
    - 6.4K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/entity/ChatSession.java

        }
    
        /**
         * Gets the user ID.
         *
         * @return the user ID
         */
        public String getUserId() {
            return userId;
        }
    
        /**
         * Sets the user ID.
         *
         * @param userId the user ID
         */
        public void setUserId(final String userId) {
            this.userId = userId;
        }
    
        /**
         * Gets the creation timestamp.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 07 01:53:06 GMT 2026
    - 6.7K bytes
    - Click Count (0)
Back to Top