Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,585 for rulesv6 (0.59 sec)

  1. platforms/documentation/docs/src/snippets/modelRules/basicRuleSourcePlugin/tests/basicRuleSourcePlugin-model-task.out

          | Creator: 	Project.<init>.tasks()
          | Rules:
             ⤷ PersonRules#createHelloTask(ModelMap<Task>, Person)
        + buildEnvironment
              | Type:   	org.gradle.api.tasks.diagnostics.BuildEnvironmentReportTask
              | Value:  	task ':buildEnvironment'
              | Creator: 	Project.<init>.tasks.buildEnvironment()
              | Rules:
                 ⤷ copyToTaskContainer
        + components
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 15:10:38 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  2. internal/bucket/replication/replication.go

    			rules = append(rules, rule)
    			continue
    		}
    		if obj.ExistingObject && rule.ExistingObjectReplication.Status == Disabled {
    			continue
    		}
    		if !strings.HasPrefix(obj.Name, rule.Prefix()) {
    			continue
    		}
    		if rule.Filter.TestTags(obj.UserTags) {
    			rules = append(rules, rule)
    		}
    	}
    	sort.Slice(rules, func(i, j int) bool {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Mar 28 17:44:56 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolutionstrategy/DefaultComponentSelectionRulesTest.groovy

            rules.rules[0].action == ruleAction
            rules.rules[0].spec == Specs.satisfyAll()
        }
    
        def "add rule source rule that applies to module"() {
            String notation = "${GROUP}:${MODULE}"
    
            when:
            rules.withModule(notation, ruleSource)
    
            then:
            1 * adapter.createFromRuleSource(ComponentSelection, ruleSource) >> ruleAction
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/RuleSourceAppliedToModelMapElementIntegrationTest.groovy

                    }
                }
    
                class Rules extends RuleSource {
                    @Mutate
                    void addTasks(ModelMap<Task> tasks) {
                        tasks.named("taskWithThrowingRuleApplied", ThrowingRule)
                        tasks.create("taskWithThrowingRuleApplied")
                    }
                }
    
                apply type: Rules
            '''
    
            then:
            fails "tasks"
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/RuleSourceAppliedByRuleMethodIntegrationTest.groovy

                    @Model
                    void p1(Thing t) {
                    }
    
                    @Rules
                    void rules(CalculateName rules, Thing t) {
                    }
                }
    
                class CalculateName extends RuleSource {
                    @Rules
                    void rules(SpecializeName rules, Thing t) {
                    }
                }
    
                class SpecializeName extends RuleSource {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 18.7K bytes
    - Viewed (0)
  6. pilot/pkg/serviceregistry/kube/controller/ambient/testdata/deny-groups.yaml

    action: DENY
    groups:
    - rules:
      - matches:
        - destinationPorts:
          - 80
      - matches:
        - namespaces:
          - exact: from-mix-ns
          principals:
          - exact: from-mix-principal
    - rules:
      - matches:
        - destinationPorts:
          - 80
      - matches:
        - namespaces:
          - exact: to-mix-ns
          principals:
          - exact: to-mix-principal
    - rules:
      - matches:
        - destinationPorts:
          - 80
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 29 18:40:34 UTC 2024
    - 955 bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/ModelMapIntegrationTest.groovy

                }
            }
            apply plugin: Rules
            """
    
            expect:
            succeeds "validate"
        }
    
    
        def "can create a ModelMap of List<String>"() {
            buildFile << """
                class Rules extends RuleSource {
                    @Model void things(ModelMap<List<String>> things) { }
                }
                apply plugin: Rules
    
                model {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 11.1K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/registry/UnboundModelRulesException.java

        private static final String MESSAGE = "The following model rules could not be applied due to unbound inputs and/or subjects:";
        private final List<? extends UnboundRule> rules;
    
        public UnboundModelRulesException(List<? extends UnboundRule> rules) {
            super(toMessage(rules));
            this.rules = rules;
        }
    
        private static String toMessage(Iterable<? extends UnboundRule> rules) {
            StringWriter string = new StringWriter();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  9. pilot/pkg/serviceregistry/kube/controller/ambient/testdata/allow-full.yaml

    groups:
    - rules:
      - matches:
        - notPrincipals:
          - exact: not-principal
          - prefix: not-principal-prefix-
          - suffix: -suffix-not-principal
          - presence: {}
          principals:
          - exact: principal
          - prefix: principal-prefix-
          - suffix: -suffix-principal
          - presence: {}
    - rules:
      - matches:
        - namespaces:
          - exact: ns
          - prefix: ns-prefix-
          - suffix: -ns-suffix
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 29 18:40:34 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/RuleSourceAppliedAsProjectPluginIntegrationTest.groovy

        }
    
        def "informative error message when two plugins declare model at the same path and model is already created"() {
            when:
            buildScript '''
                class MyPlugin {
                    static class Rules extends RuleSource {
                        @Model
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 11.7K bytes
    - Viewed (0)
Back to top