Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 50 for rule (0.03 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/RuleManagerTest.java

                    rules.add(rule);
                }
            }
    
            @Override
            public void addRule(int index, Rule rule) {
                if (rule != null) {
                    rules.add(index, rule);
                }
            }
    
            @Override
            public boolean removeRule(Rule rule) {
                return rules.remove(rule);
            }
    
            @Override
            public boolean hasRule(Rule rule) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 23.8K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/RuleTest.java

            assertSame(sharedProcessor, rule1.getResponseProcessor());
            assertSame(sharedProcessor, rule2.getResponseProcessor());
            assertSame(sharedProcessor, rule3.getResponseProcessor());
    
            // Different rule IDs
            assertEquals("rule1", rule1.getRuleId());
            assertEquals("rule2", rule2.getRuleId());
            assertEquals("rule3", rule3.getRuleId());
    
            // Different match results
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/impl/AbstractRuleTest.java

                if (rule != null) {
                    rules.add(rule);
                }
            }
    
            @Override
            public void addRule(int index, Rule rule) {
                if (rule != null) {
                    rules.add(index, rule);
                }
            }
    
            @Override
            public boolean removeRule(Rule rule) {
                return rules.remove(rule);
            }
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/rule/impl/AbstractRule.java

     */
    package org.codelibs.fess.crawler.rule.impl;
    
    import org.codelibs.fess.crawler.container.CrawlerContainer;
    import org.codelibs.fess.crawler.processor.ResponseProcessor;
    import org.codelibs.fess.crawler.rule.Rule;
    import org.codelibs.fess.crawler.rule.RuleManager;
    
    import jakarta.annotation.Resource;
    
    /**
     * Abstract base class for implementing {@link Rule} interfaces.
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerContextTest.java

            @Override
            public Rule getRule(ResponseData responseData) {
                return null;
            }
    
            @Override
            public void addRule(Rule rule) {
            }
    
            @Override
            public void addRule(int index, Rule rule) {
            }
    
            @Override
            public boolean removeRule(Rule rule) {
                return false;
            }
    
            @Override
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  6. cmd/data-scanner_test.go

    	lcXML := `
    <LifecycleConfiguration>
           <Rule>
                   <ID>max-versions</ID>
                   <Status>Enabled</Status>
                   <NoncurrentVersionExpiration>
                           <NewerNoncurrentVersions>2</NewerNoncurrentVersions>
                   </NoncurrentVersionExpiration>
           </Rule>
           <Rule>
                   <ID>delete-all-versions</ID>
                   <Status>Enabled</Status>
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 12K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java

                    .<SitemapsRule> singleton("sitemapsRule", SitemapsRule.class, rule -> {
                        rule.setResponseProcessor(container.getComponent("sitemapsResponseProcessor"));
                        rule.setRuleId("sitemapsRule");
                        rule.addRule("url", ".*sitemap.*");
                    })//
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 19.1K bytes
    - Viewed (0)
  8. cmd/site-replication.go

    		} else {
    			rMap[id] = rl
    		}
    	}
    
    	var rules []lifecycle.Rule
    	for _, rule := range rMap {
    		rules = append(rules, rule)
    	}
    
    	// no rules, return
    	if len(rules) == 0 {
    		return []byte{}, nil
    	}
    
    	// get final list for write
    	finalLcCfg := lifecycle.Lifecycle{
    		XMLName:         xmlName,
    		Rules:           rules,
    		ExpiryUpdatedAt: &updatedAt,
    	}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 184.7K bytes
    - Viewed (1)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/TransformerTest.java

                // Apply transformation rules
                try (InputStream is = responseData.getResponseBody()) {
                    byte[] bytes = is.readAllBytes();
                    String content = new String(bytes);
                    for (Map.Entry<String, String> rule : transformationRules.entrySet()) {
                        content = content.replaceAll(rule.getKey(), rule.getValue());
                    }
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 28K bytes
    - Viewed (0)
  10. cmd/bucket-lifecycle.go

    func validateTransitionTier(lc *lifecycle.Lifecycle) error {
    	for _, rule := range lc.Rules {
    		if rule.Transition.StorageClass != "" {
    			if valid := globalTierConfigMgr.IsTierValid(rule.Transition.StorageClass); !valid {
    				return errInvalidStorageClass
    			}
    		}
    		if rule.NoncurrentVersionTransition.StorageClass != "" {
    			if valid := globalTierConfigMgr.IsTierValid(rule.NoncurrentVersionTransition.StorageClass); !valid {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 33.7K bytes
    - Viewed (0)
Back to top