Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 7 of 7 for getBoolean (0.04 seconds)

  1. src/main/java/org/codelibs/fess/suggest/util/MapValueExtractor.java

         * @param key The key to look up
         * @return The Boolean value, or null if the key doesn't exist or value is null
         */
        public static Boolean getBoolean(final Map<String, Object> map, final String key) {
            return getBoolean(map, key, null);
        }
    
        /**
         * Gets a Boolean value from the map with a default value.
         *
         * @param map The source map
    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)
  2. src/test/java/org/codelibs/fess/suggest/util/MapValueExtractorTest.java

            assertEquals(Boolean.TRUE, MapValueExtractor.getBoolean(map, "true"));
            assertEquals(Boolean.FALSE, MapValueExtractor.getBoolean(map, "false"));
            assertEquals(Boolean.TRUE, MapValueExtractor.getBoolean(map, "stringTrue"));
            assertEquals(Boolean.FALSE, MapValueExtractor.getBoolean(map, "stringFalse"));
            assertNull(MapValueExtractor.getBoolean(map, "missing"));
        }
    
        @Test
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 6.4K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/it/CrawlTestBase.java

            String response = checkMethodBase(requestBody).post("/api/admin/webconfig/setting").asString();
            JsonPath jsonPath = JsonPath.from(response);
            assertTrue(jsonPath.getBoolean("response.created"));
            assertEquals(0, jsonPath.getInt("response.status"));
            return jsonPath.getString("response.id");
        }
    
        protected static List<String> getWebConfigIds(final String namePrefix) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 10.6K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/it/search/LabelsApiTests.java

            labelBody.put("value", value);
            Response response = checkMethodBase(labelBody).post("/api/admin/labeltype/setting");
            JsonPath jsonPath = JsonPath.from(response.asString());
            assertTrue(jsonPath.getBoolean("response.created"));
            assertEquals(0, jsonPath.getInt("response.status"));
            return jsonPath.get("response.id");
        }
    
        private static void deleteLabel(final String id) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 20 03:03:44 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/it/search/SearchApiTests.java

            Response response = checkMethodBase(labelBody).post("/api/admin/labeltype/setting");
            JsonPath jsonPath = JsonPath.from(response.asString());
            assertTrue(jsonPath.getBoolean("response.created"));
            assertEquals(0, jsonPath.getInt("response.status"));
            return jsonPath.get("response.id");
        }
    
        private static String createCrawlLabel() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 21 13:29:45 GMT 2025
    - 19K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/it/search/ScrollSearchApiTests.java

            Response response = checkMethodBase(labelBody).post("/api/admin/labeltype/setting");
            JsonPath jsonPath = JsonPath.from(response.asString());
            assertTrue(jsonPath.getBoolean("response.created"));
            assertEquals(0, jsonPath.getInt("response.status"));
            return jsonPath.get("response.id");
        }
    
        protected static void deleteLabel(String id) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 20 03:03:44 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/it/search/FavoritesApiTests.java

            Response response = checkMethodBase(labelBody).post("/api/admin/labeltype/setting");
            JsonPath jsonPath = JsonPath.from(response.asString());
            assertTrue(jsonPath.getBoolean("response.created"));
            assertEquals(0, jsonPath.getInt("response.status"));
            return jsonPath.get("response.id");
        }
    
        protected static void deleteLabel(String id) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 20 03:03:44 GMT 2025
    - 9.9K bytes
    - Click Count (0)
Back to Top