Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 46 for ExecAction (0.48 sec)

  1. staging/src/k8s.io/client-go/applyconfigurations/core/v1/execaction.go

    package v1
    
    // ExecActionApplyConfiguration represents an declarative configuration of the ExecAction type for use
    // with apply.
    type ExecActionApplyConfiguration struct {
    	Command []string `json:"command,omitempty"`
    }
    
    // ExecActionApplyConfiguration constructs an declarative configuration of the ExecAction type for use with
    // apply.
    func ExecAction() *ExecActionApplyConfiguration {
    	return &ExecActionApplyConfiguration{}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 04 18:31:34 UTC 2021
    - 1.5K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/process/internal/ExecAction.java

     */
    package org.gradle.process.internal;
    
    import org.gradle.api.NonExtensible;
    import org.gradle.process.ExecResult;
    import org.gradle.process.ExecSpec;
    
    @NonExtensible
    public interface ExecAction extends ExecSpec {
        ExecResult execute() throws ExecException;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 02 16:56:13 UTC 2016
    - 877 bytes
    - Viewed (0)
  3. platforms/jvm/language-java/src/main/java/org/gradle/external/javadoc/internal/JavadocExecHandleBuilder.java

            return this;
        }
    
        public ExecAction getExecHandle() {
            try {
                options.write(optionsFile);
            } catch (IOException e) {
                throw new GradleException("Failed to store javadoc options.", e);
            }
    
            ExecAction execAction = execActionFactory.newExecAction();
            execAction.workingDir(execDirectory);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  4. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/xcode/AbstractLocator.java

                    ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
                    ExecAction execAction = execActionFactory.newExecAction();
                    execAction.executable("xcrun");
                    execAction.workingDir(System.getProperty("user.dir"));
                    execAction.args(getXcrunFlags());
    
                    String developerDir = System.getenv("DEVELOPER_DIR");
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2K bytes
    - Viewed (0)
  5. platforms/jvm/language-java/src/main/java/org/gradle/api/tasks/javadoc/internal/JavadocGenerator.java

            ExecAction execAction = javadocExecHandleBuilder.getExecHandle();
            if (spec.isIgnoreFailures()) {
                execAction.setIgnoreExitValue(true);
            }
    
            try {
                execAction.execute();
            } catch (ExecException e) {
                LOG.info("Problems generating Javadoc."
                        + "\n  Command line issued: " + execAction.getCommandLine()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  6. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/DefaultCommandLineToolInvocationWorkerTest.groovy

    import org.gradle.process.internal.ExecAction
    import org.gradle.process.internal.ExecActionFactory
    import org.gradle.process.internal.ExecException
    import spock.lang.Specification
    
    class DefaultCommandLineToolInvocationWorkerTest extends Specification {
        def "throws exception when exec fails"() {
            given:
            def execAction = Mock(ExecAction)
            def execActionFactory = Stub(ExecActionFactory) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  7. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/metadata/CompilerMetaDataProviderFactoryTest.groovy

    import org.gradle.process.ExecResult
    import org.gradle.process.internal.ExecAction
    import org.gradle.process.internal.ExecActionFactory
    import spock.lang.Specification
    
    class CompilerMetaDataProviderFactoryTest extends Specification {
    
        def execActionFactory = Mock(ExecActionFactory)
        def execAction = Mock(ExecAction)
        def execResult = Mock(ExecResult)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  8. subprojects/core/src/main/java/org/gradle/process/internal/DefaultExecActionFactory.java

            JavaExecAction execAction = newDecoratedJavaExecAction();
            action.execute(execAction);
            return execAction.execute();
        }
    
        @Override
        public ExecResult exec(Action<? super ExecSpec> action) {
            ExecAction execAction = newDecoratedExecAction();
            action.execute(execAction);
            return execAction.execute();
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 10 06:16:11 UTC 2023
    - 24K bytes
    - Viewed (0)
  9. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/msvcpp/version/CommandLineToolVersionLocatorTest.groovy

        void vswhereResults(String jsonResult) {
            OutputStream outputStream
    
            1 * execActionFactory.newExecAction() >> execAction
            1 * execAction.setStandardOutput(_ as OutputStream) >> { args ->
                outputStream = args[0]
                return null
            }
            1 * execAction.execute() >> {
                outputStream.write(jsonResult.bytes)
                return Stub(ExecResult)
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 9.6K bytes
    - Viewed (0)
  10. platforms/jvm/language-java/src/test/groovy/org/gradle/external/javadoc/internal/JavadocExecHandleBuilderTest.groovy

            def action = Mock(ExecAction)
    
            when:
            javadocExecHandleBuilder.execHandle
    
            then:
            1 * execActionFactory.newExecAction() >> action
            1 * action.executable(Jvm.current().javadocExecutable)
        }
    
        def testCheckCustomExecutable() {
            String executable = "somepath"
            def action = Mock(ExecAction)
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 3K bytes
    - Viewed (0)
Back to top