Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 180 for rule1 (0.02 sec)

  1. internal/bucket/lifecycle/rule.go

    	}
    	if !r.Prefix.set {
    		return r.Filter.Validate()
    	}
    	return nil
    }
    
    func (r Rule) validateTransition() error {
    	return r.Transition.Validate()
    }
    
    func (r Rule) validateNoncurrentTransition() error {
    	return r.NoncurrentVersionTransition.Validate()
    }
    
    // GetPrefix - a rule can either have prefix under <rule></rule>, <filter></filter>
    // or under <filter><and></and></filter>. This method returns the prefix from the
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 01 01:11:10 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  2. internal/event/rules.go

    	return pattern
    }
    
    // Rules - event rules
    type Rules map[string]TargetIDSet
    
    // Add - adds pattern and target ID.
    func (rules Rules) Add(pattern string, targetID TargetID) {
    	rules[pattern] = NewTargetIDSet(targetID).Union(rules[pattern])
    }
    
    // MatchSimple - returns true one of the matching object name in rules.
    func (rules Rules) MatchSimple(objectName string) bool {
    	for pattern := range rules {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/impl/RuleManagerImplTest.java

            rule2.setAllRequired(true);
            rule2.addRule("url", "http:.*");
    
            final RegexRule rule3 = new RegexRule();
            rule3.addRule("url", "http:.*");
    
            assertFalse(ruleManager.hasRule(rule2));
            assertFalse(ruleManager.hasRule(rule3));
    
            ruleManager.addRule(rule2);
    
            assertTrue(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. 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>
    		</postConstruct>
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jun 04 08:42:49 UTC 2020
    - 4.6K bytes
    - Viewed (0)
  5. internal/bucket/replication/rule.go

    		return err
    	}
    	if len(erep.Status) == 0 {
    		erep.Status = Disabled
    	}
    	e.Status = erep.Status
    	return nil
    }
    
    // Rule - a rule for replication configuration.
    type Rule struct {
    	XMLName                 xml.Name                `xml:"Rule" json:"Rule"`
    	ID                      string                  `xml:"ID,omitempty" json:"ID,omitempty"`
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jan 24 23:22:20 UTC 2022
    - 8.3K bytes
    - Viewed (0)
  6. fess-crawler-lasta/src/main/resources/crawler/rule.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>
    		</postConstruct>
    	</component>
    
    	<component name="sitemapsRule" class="org.codelibs.fess.crawler.rule.impl.SitemapsRule">
    		<property name="ruleId">"sitemapsRule"</property>
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sun Oct 11 02:16:55 UTC 2015
    - 1.5K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/rule/Rule.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.crawler.rule;
    
    import java.io.Serializable;
    
    import org.codelibs.fess.crawler.entity.ResponseData;
    import org.codelibs.fess.crawler.processor.ResponseProcessor;
    
    /**
     * @author shinsuke
     *
     */
    public interface Rule extends Serializable {
    
        boolean match(ResponseData responseData);
    
        String getRuleId();
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1007 bytes
    - Viewed (0)
  8. android-test-app/proguard-rules.pro

    # no rules should be needed...
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Dec 23 14:46:51 UTC 2023
    - 28 bytes
    - Viewed (0)
  9. internal/bucket/replication/replication.go

    			continue
    		}
    		if rule.Filter.TestTags(obj.UserTags) {
    			rules = append(rules, rule)
    		}
    	}
    	sort.Slice(rules, func(i, j int) bool {
    		return rules[i].Priority > rules[j].Priority && rules[i].Destination.String() == rules[j].Destination.String()
    	})
    
    	return rules
    }
    
    // GetDestination returns destination bucket and storage class.
    func (c Config) GetDestination() Destination {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Mar 28 17:44:56 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  10. internal/bucket/encryption/bucket-sse-config_test.go

    		{
    			inputXML:    `<ServerSideEncryptionConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Rule><ApplyServerSideEncryptionByDefault><SSEAlgorithm>AES256</SSEAlgorithm></ApplyServerSideEncryptionByDefault></Rule><Rule><ApplyServerSideEncryptionByDefault><SSEAlgorithm>AES256</SSEAlgorithm></ApplyServerSideEncryptionByDefault></Rule></ServerSideEncryptionConfiguration>`,
    			expectedErr: errors.New("only one server-side encryption rule is allowed at a time"),
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 16 18:28:30 UTC 2022
    - 6.1K bytes
    - Viewed (0)
Back to top