Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for FailAction (0.13 sec)

  1. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r48/FailAction.java

     */
    
    package org.gradle.integtests.tooling.r48;
    
    import org.gradle.tooling.BuildAction;
    import org.gradle.tooling.BuildController;
    
    import java.io.Serializable;
    
    public class FailAction implements BuildAction<String>, Serializable {
        @Override
        public String execute(BuildController controller) {
            throw new RuntimeException("actionFailure");
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 976 bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r48/PhasedBuildActionCrossVersionSpec.groovy

            def buildFinishedHandler = new IntermediateResultHandlerCollector()
    
            when:
            withConnection { connection ->
                def action = connection.action()
                    .projectsLoaded(new FailAction(), projectsLoadedHandler)
                    .buildFinished(new ActionShouldNotBeCalled(), buildFinishedHandler)
                    .build()
    
                collectOutputs(action)
                action.run()
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/generic/policy_source.go

    	// an error returned if there was a configuration error in one of the policies,
    	// but we would still want those policies evaluated
    	// (for instance to return error on failaction). Or if there was an error
    	// listing all policies at all, we would want to wipe the list.
    	s.policies.Store(&policies)
    
    	if err != nil {
    		// An error was generated while syncing policies. Mark it as dirty again
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 21 23:07:34 UTC 2024
    - 15.2K bytes
    - Viewed (0)
Back to top