- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for isTarget (0.03 sec)
-
src/test/java/org/codelibs/fess/helper/IntervalControlHelperTest.java
assertTrue(rule.isTarget(12, 30, 5)); // 12:30 on Thursday // Within time range but not matching day assertFalse(rule.isTarget(12, 30, 2)); // 12:30 on Monday assertFalse(rule.isTarget(12, 30, 4)); // 12:30 on Wednesday assertFalse(rule.isTarget(12, 30, 6)); // 12:30 on Friday assertFalse(rule.isTarget(12, 30, 7)); // 12:30 on Saturday }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 10 13:41:04 UTC 2025 - 13.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/thumbnail/ThumbnailGeneratorTest.java
assertTrue(thumbnailGenerator.isTarget(docMap)); } public void test_isTarget_withUnsupportedMimeType() { // Test with unsupported document type Map<String, Object> docMap = new HashMap<>(); docMap.put("mimetype", "application/unknown"); assertFalse(thumbnailGenerator.isTarget(docMap)); } public void test_isTarget_withNullDocMap() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 11.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGeneratorTest.java
} public void test_isTarget() { // Test isTarget method generator = new TestThumbnailGenerator(); Map<String, Object> docMap = new HashMap<>(); // Note: isTarget requires FessConfig which needs container // We can only verify the method handles missing container gracefully try { generator.isTarget(docMap); } catch (IllegalStateException e) {Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 6.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/thumbnail/impl/EmptyGeneratorTest.java
assertTrue(emptyGenerator.isAvailable()); } public void test_isTarget() { // Initialize without container emptyGenerator = new EmptyGenerator(); // Note: isTarget method requires FessConfig from ComponentUtil // which needs container initialization. // We can only test that the method can be called without crashing // when proper conditions are not met.
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 6.3K bytes - Viewed (0) -
src/test/java/org/codelibs/core/beans/converter/NumberConverterTest.java
*/ @Test public void testIsTarget() throws Exception { final NumberConverter converter = new NumberConverter("##0"); assertThat(converter.isTarget(Integer.class), is(true)); assertThat(converter.isTarget(Timestamp.class), is(not(true))); }Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Fri Jun 20 13:40:57 UTC 2025 - 1.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/DictionaryCreator.java
* @return a DictionaryFile instance if the path matches, null otherwise */ public DictionaryFile<? extends DictionaryItem> create(final String path, final Date timestamp) { if (!isTarget(path)) { return null; } return newDictionaryFile(encodePath(path), path, timestamp); } /** * Encodes a file path using Base64 URL-safe encoding. *Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 3.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/thumbnail/ThumbnailGenerator.java
* Checks if this generator can handle the given document. * @param docMap The document map containing metadata. * @return True if this generator can handle the document, false otherwise. */ boolean isTarget(Map<String, Object> docMap); /** * Checks if this thumbnail generator is available for use. * @return True if available, false otherwise. */ boolean isAvailable(); /**Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 2.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/IntervalControlHelper.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 9.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGenerator.java
if (StringUtil.isBlank(value)) { conditionMap.put(key, regex); } else { conditionMap.put(key, value + "|" + regex); } } @Override public boolean isTarget(final Map<String, Object> docMap) { final String thumbnailFieldName = ComponentUtil.getFessConfig().getIndexFieldThumbnail(); if (logger.isDebugEnabled()) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 13.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/thumbnail/ThumbnailManagerTest.java
return generateResult; } @Override public boolean isAvailable() { return available; } @Override public boolean isTarget(Map<String, Object> docMap) { return target; } @Override public Tuple3<String, String, String> createTask(String path, Map<String, Object> docMap) { return task;Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 18.7K bytes - Viewed (0)