- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 104 for getRule (0.08 sec)
-
fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/impl/RuleManagerImplTest.java
responseData.setResponseBody(new byte[0]); final Rule rule = ruleManager.getRule(responseData); assertNotNull(rule); assertEquals("fileRule", rule.getRuleId()); CloseableUtil.closeQuietly(responseData); } public void test_checkRule() { final Rule rule = ruleManager.getRule(new ResponseData()); assertNotNull(rule);
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/RuleManagerImpl.java
protected final List<Rule> ruleList = new ArrayList<>(); /* * (non-Javadoc) * * @see org.codelibs.fess.crawler.rule.RuleManager#getRule(org.codelibs.fess.crawler.entity.ResponseData) */ @Override public Rule getRule(final ResponseData responseData) { for (final Rule rule : ruleList) { if (rule.match(responseData)) { return rule; }
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 2.2K bytes - Viewed (0) -
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) -
src/main/java/org/codelibs/fess/helper/DocumentHelper.java
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); } responseData.setRuleId(rule.getRuleId());
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 12K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/CrawlerThread.java
} return true; } protected void processResponse(final UrlQueue<?> urlQueue, final ResponseData responseData) { // get a rule final Rule rule = crawlerContext.ruleManager.getRule(responseData); if (rule == null) { log(logHelper, LogType.NO_RULE, crawlerContext, urlQueue, responseData); } else { responseData.setRuleId(rule.getRuleId());
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Sat Oct 12 01:41:37 UTC 2024 - 15.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImpl.java
} final RuleManager ruleManager = SingletonLaContainer.getComponent(RuleManager.class); final Rule rule = ruleManager.getRule(responseData); if (rule == null) { logger.warn("No url rule. Data: {}", dataMap); } else { responseData.setRuleId(rule.getRuleId());
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 16.8K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/aether/LoggingRepositoryListener.java
@Override public void artifactInstalling(RepositoryEvent event) { logger.info("Installing {} to {}", event.getArtifact().getFile(), event.getFile()); } @Override public void metadataInstalling(RepositoryEvent event) { logger.debug("Installing {} to {}", event.getMetadata(), event.getFile()); } @Override public void metadataResolved(RepositoryEvent event) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.4K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/JapicmpTask.java
} if (getRichReport().isPresent()) { RichReport richReport = getRichReport().get(); for (RuleConfiguration configuration : richReport.getRules().getOrElse(Collections.emptyList())) { addClasspathFor(configuration.getRuleClass(), classpath); } } classpath.addAll(additionalJapicmpClasspath.getFiles());
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Apr 26 10:58:32 UTC 2023 - 13.3K bytes - Viewed (0) -
istioctl/pkg/authz/listener.go
for _, fc := range parsed.filterChains { for _, rbacHTTP := range fc.rbacHTTP { action := rbacHTTP.GetRules().GetAction() for name := range rbacHTTP.GetRules().GetPolicies() { nameOfPolicy, indexOfRule := extractName(name) addPolicy(action, nameOfPolicy, indexOfRule) } if len(rbacHTTP.GetRules().GetPolicies()) == 0 { addPolicy(action, anonymousName, "0") } }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Sep 11 15:29:30 UTC 2023 - 6K bytes - Viewed (0) -
test-site/activator-launch-1.3.2.jar
ModuleRules(); private void ModuleRules(java.util.Map); public final void defineRule(org.apache.ivy.plugins.matcher.MapMatcher, Object); public final Object[] getRules(ModuleId); public final Object getRule(ModuleId, org.apache.ivy.util.filter.Filter); public final Object getRule(ModuleRevisionId, org.apache.ivy.util.filter.Filter); private Object getRule(java.util.Map, org.apache.ivy.util.filter.Filter); public final void dump(String); public final java.util.Map getAllRules(); public final Object clone();...
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Mon Apr 20 08:41:37 UTC 2015 - 1.2M bytes - Viewed (0)