Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for removeRule (0.1 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/rule/impl/RuleManagerImpl.java

            return ruleList.contains(rule);
        }
    
        /*
         * (non-Javadoc)
         *
         * @see
         * org.codelibs.fess.crawler.rule.RuleManager#removeRule(org.codelibs.fess.crawler.rule.Rule)
         */
        @Override
        public boolean removeRule(final Rule rule) {
            return ruleList.remove(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)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/rule/RuleManager.java

    /**
     * @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)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/impl/RuleManagerImplTest.java

            assertTrue(ruleManager.hasRule(rule2));
            assertTrue(ruleManager.hasRule(rule3));
    
            ruleManager.removeRule(rule2);
    
            assertFalse(ruleManager.hasRule(rule2));
            assertTrue(ruleManager.hasRule(rule3));
    
            ruleManager.removeRule(rule3);
    
            assertFalse(ruleManager.hasRule(rule2));
            assertFalse(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)
  4. cmd/site-replication.go

    		switch {
    		case hasRule:
    			if ruleARN != opts.DestBucket {
    				// remove stale replication rule and replace rule with correct target ARN
    				if len(replicationConfig.Rules) > 1 {
    					err = replicationConfig.RemoveRule(opts)
    				} else {
    					replicationConfig = replication.Config{}
    				}
    				if err == nil {
    					err = replicationConfig.AddRule(opts)
    				}
    			} else {
    				err = replicationConfig.EditRule(opts)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 185.1K bytes
    - Viewed (0)
  5. api/go1.20.txt

    pkg go/ast, type File struct, FileEnd token.Pos #53202
    pkg go/ast, type File struct, FileStart token.Pos #53202
    pkg go/ast, type RangeStmt struct, Range token.Pos #50429
    pkg go/token, method (*FileSet) RemoveFile(*File) #53200
    pkg go/types, func Satisfies(Type, *Interface) bool #56548
    pkg io/fs, var SkipAll error #47209
    pkg io, func NewOffsetWriter(WriterAt, int64) *OffsetWriter #45899
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Feb 17 21:23:32 UTC 2023
    - 602.6K bytes
    - Viewed (0)
Back to top