- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for ruleManager (0.07 sec)
-
fess-crawler/src/main/java/org/codelibs/fess/crawler/rule/RuleManager.java
*/ package org.codelibs.fess.crawler.rule; import org.codelibs.fess.crawler.entity.ResponseData; /** * @author shinsuke * */ public interface RuleManager { Rule getRule(ResponseData responseData); void addRule(Rule rule); void addRule(int index, Rule rule); boolean removeRule(Rule rule); boolean hasRule(Rule rule);
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 967 bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/impl/RuleManagerImplTest.java
assertFalse(ruleManager.hasRule(rule2)); assertFalse(ruleManager.hasRule(rule3)); ruleManager.addRule(rule2); assertTrue(ruleManager.hasRule(rule2)); assertFalse(ruleManager.hasRule(rule3)); ruleManager.addRule(rule3); assertTrue(ruleManager.hasRule(rule2)); assertTrue(ruleManager.hasRule(rule3));
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 6.2K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/rule/impl/AbstractRule.java
protected ResponseProcessor responseProcessor; @Resource protected CrawlerContainer crawlerContainer; public void register(final int index) { final RuleManager ruleManager = crawlerContainer.getComponent("ruleManager"); ruleManager.addRule(index, this); } @Override public String getRuleId() { return ruleId; } public void setRuleId(final String ruleId) {
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:47:32 UTC 2024 - 1.8K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/CrawlerContext.java
} public void setUrlFilter(final UrlFilter urlFilter) { this.urlFilter = urlFilter; } public RuleManager getRuleManager() { return ruleManager; } public void setRuleManager(final RuleManager ruleManager) { this.ruleManager = ruleManager; } public IntervalController getIntervalController() { return intervalController; }
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Sat Oct 12 01:40:57 UTC 2024 - 4.5K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/Crawler.java
} public void setUrlFilter(final UrlFilter urlFilter) { this.urlFilter = urlFilter; } public RuleManager getRuleManager() { return ruleManager; } public void setRuleManager(final RuleManager ruleManager) { this.ruleManager = ruleManager; } public IntervalController getIntervalController() { return intervalController; }
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:47:32 UTC 2024 - 7.9K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/rule/impl/RuleManagerImpl.java
import org.codelibs.fess.crawler.rule.Rule; import org.codelibs.fess.crawler.rule.RuleManager; /** * @author shinsuke * */ public class RuleManagerImpl implements RuleManager { protected final List<Rule> ruleList = new ArrayList<>(); /* * (non-Javadoc) * * @see org.codelibs.fess.crawler.rule.RuleManager#getRule(org.codelibs.fess.crawler.entity.ResponseData) */ @Override
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 2.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/DocumentHelper.java
responseData.setExecutionTime(systemHelper.getCurrentTimeAsLong() - startTime); responseData.setSessionId(crawlingInfoId); final RuleManager ruleManager = SingletonLaContainer.getComponent(RuleManager.class); final Rule rule = ruleManager.getRule(responseData); if (rule == null) { throw new CrawlingAccessException("No url rule for " + url); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 12K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImpl.java
} else { responseData.setSessionId((String) paramMap.get(Constants.CRAWLING_INFO_ID)); } final RuleManager ruleManager = SingletonLaContainer.getComponent(RuleManager.class); final Rule rule = ruleManager.getRule(responseData); if (rule == null) { logger.warn("No url rule. Data: {}", dataMap); } else {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 16.8K bytes - Viewed (0) -
fess-crawler-lasta/src/main/resources/crawler/rule.xml
"http://dbflute.org/meta/lastadi10.dtd"> <components namespace="fessCrawler"> <include path="crawler/container.xml" /> <include path="crawler/transformer.xml" /> <component name="ruleManager" class="org.codelibs.fess.crawler.rule.impl.RuleManagerImpl" instance="prototype"> <postConstruct name="addRule"> <arg>sitemapsRule</arg> </postConstruct> <postConstruct name="addRule"> <arg>fileRule</arg>
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Sun Oct 11 02:16:55 UTC 2015 - 1.5K bytes - Viewed (0) -
src/main/resources/crawler/rule.xml
"http://dbflute.org/meta/lastadi10.dtd"> <components namespace="fessCrawler"> <include path="crawler/container.xml" /> <include path="crawler/transformer.xml" /> <component name="ruleManager" class="org.codelibs.fess.crawler.rule.impl.RuleManagerImpl" instance="prototype"> <postConstruct name="addRule"> <arg>sitemapsRule</arg> </postConstruct> <postConstruct name="addRule"> <arg>webHtmlRule</arg>
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Jun 04 08:42:49 UTC 2020 - 4.6K bytes - Viewed (0)