Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 4,140 for action1 (0.2 sec)

  1. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/services/DefaultIsolatedProjectEvaluationListenerProvider.kt

                "afterEvaluate action cannot execute before beforeEvaluate"
            }
            executeAll(actions.afterProject, project)
        }
    
        private
        fun executeAll(actions: IsolatedProjectActionList, project: Project) {
            for (action in actions) {
                action.execute(project)
            }
        }
    
        private
        fun isolatedActions() = IsolateOwners.OwnerGradle(gradle).let { owner ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  2. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/MutableActionSet.java

     */
    public class MutableActionSet<T> implements Action<T>, InternalListener {
        private ImmutableActionSet<T> actions = ImmutableActionSet.empty();
    
        public void add(Action<? super T> action) {
            this.actions = actions.add(action);
        }
    
        public void clear() {
            actions = ImmutableActionSet.empty();
        }
        @Override
        public void execute(T t) {
            actions.execute(t);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  3. subprojects/core/src/test/groovy/org/gradle/configuration/project/DefaultProjectConfigurationActionContainerTest.groovy

            container.actions == [action]
        }
    
        def "can add action as closure"() {
            def run = false
            def action = { run = true }
    
            when:
            container.add(action)
    
            then:
            container.actions.size() == 1
    
            when:
            container.actions[0].execute(Stub(ProjectInternal))
    
            then:
            run
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 05 22:54:35 UTC 2013
    - 1.4K bytes
    - Viewed (0)
  4. pkg/controller/certificates/rootcacertpublisher/publisher_test.go

    				},
    			},
    			ExpectActions: func(t *testing.T, actions []clienttesting.Action) {
    				if len(actions) != 1 {
    					t.Fatal(actions)
    				}
    				if actions[0].GetVerb() != "update" {
    					t.Fatal(actions)
    				}
    				actualObj := actions[0].(clienttesting.UpdateAction).GetObject()
    				if actualObj.(*v1.ConfigMap).Annotations[DescriptionAnnotation] != Description {
    					t.Fatal(actions)
    				}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:46:16 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/configuration/project/DefaultProjectConfigurationActionContainer.java

        public void finished() {
            actions.clear();
        }
    
        @Override
        public List<Action<? super ProjectInternal>> getActions() {
            return actions;
        }
    
        @Override
        public void add(Action<? super ProjectInternal> action) {
            actions.add(action);
        }
    
        @Override
        public void add(Closure action) {
            add(ConfigureUtil.configureUsing(action));
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 12 07:52:07 UTC 2021
    - 1.5K bytes
    - Viewed (0)
  6. subprojects/core/src/test/groovy/org/gradle/api/internal/DefaultMutationGuardTest.groovy

            where:
            methodUnderTest         | callableType | callable
            "withMutationDisabled"  | "Action"     | Actions.doNothing()
            "withMutationEnabled"   | "Action"     | Actions.doNothing()
        }
    
        def "call to #methodUnderTest(#callableType) inside withMutationEnabled(Action) does enable disallow check outside scope"() {
            def aMethodUnderTest = methodUnderTest
            def aCallable = callable
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 04 22:26:51 UTC 2021
    - 6.2K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/core/ModelRegistrations.java

                return this;
            }
    
            public Builder action(ModelActionRole role, ModelAction action) {
                this.actions.put(role, action);
                return this;
            }
    
            public Builder action(ModelActionRole role, Action<? super MutableModelNode> action) {
                return action(role, new NoInputsBuilderAction(reference, descriptorReference, action));
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  8. pkg/controlplane/controller/defaultservicecidr/default_servicecidr_controller_test.go

    	if len(actions) != len(expected) {
    		t.Fatalf("Expected at least %d actions, got %d \ndiff: %v", len(expected), len(actions), cmp.Diff(expected, actions))
    	}
    
    	for i, action := range actions {
    		verb := expected[i][0]
    		if action.GetVerb() != verb {
    			t.Errorf("Expected action %d verb to be %s, got %s", i, verb, action.GetVerb())
    		}
    		resource := expected[i][1]
    		if action.GetResource().Resource != resource {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 14 23:31:58 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/result/DefaultResolutionResult.java

            final Set<ResolvedComponentResult> out = new LinkedHashSet<>();
            eachElement(getRoot(), Actions.doNothing(), Actions.doNothing(), out);
            return out;
        }
    
        @Override
        public void allComponents(final Action<? super ResolvedComponentResult> action) {
            eachElement(getRoot(), action, Actions.doNothing(), new HashSet<>());
        }
    
        @Override
        @SuppressWarnings("rawtypes")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 17:36:01 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/endpoints/installer.go

    		actions = appendIf(actions, action{"GET", itemPath, nameParams, namer, false}, isGetter)
    		if getSubpath {
    			actions = appendIf(actions, action{"GET", itemPath + "/{path:*}", proxyParams, namer, false}, isGetter)
    		}
    		actions = appendIf(actions, action{"PUT", itemPath, nameParams, namer, false}, isUpdater)
    		actions = appendIf(actions, action{"PATCH", itemPath, nameParams, namer, false}, isPatcher)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 18:15:22 UTC 2024
    - 51.5K bytes
    - Viewed (0)
Back to top