Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for failFast (0.1 sec)

  1. mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/QueueDispatcher.kt

      }
    
      fun enqueueResponse(response: MockResponse) {
        delegate.enqueueResponse(response.wrap())
      }
    
      override fun shutdown() {
        delegate.shutdown()
      }
    
      fun setFailFast(failFast: Boolean) {
        delegate.setFailFast(failFast)
      }
    
      fun setFailFast(failFastResponse: MockResponse?) {
        delegate.setFailFast(failFastResponse?.wrap())
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Oct 18 12:55:43 UTC 2020
    - 1.3K bytes
    - Viewed (0)
  2. mockwebserver/src/main/kotlin/mockwebserver3/QueueDispatcher.kt

      }
    
      open fun clear() {
        responseQueue.clear()
      }
    
      override fun shutdown() {
        responseQueue.add(DEAD_LETTER)
      }
    
      open fun setFailFast(failFast: Boolean) {
        val failFastResponse =
          if (failFast) {
            MockResponse(code = HttpURLConnection.HTTP_NOT_FOUND)
          } else {
            null
          }
        setFailFast(failFastResponse)
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 23 14:31:42 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/LayeredMavenOptions.java

        public Optional<Boolean> relaxedChecksums() {
            return returnFirstPresentOrEmpty(MavenOptions::relaxedChecksums);
        }
    
        @Override
        public Optional<Boolean> failFast() {
            return returnFirstPresentOrEmpty(MavenOptions::failFast);
        }
    
        @Override
        public Optional<Boolean> failAtEnd() {
            return returnFirstPresentOrEmpty(MavenOptions::failAtEnd);
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/forked/DefaultForkedMavenInvoker.java

                cmdAndArguments.add("--strict-checksums");
            }
            if (mavenOptions.relaxedChecksums().orElse(false)) {
                cmdAndArguments.add("--lax-checksums");
            }
            if (mavenOptions.failFast().orElse(false)) {
                cmdAndArguments.add("--fail-fast");
            }
            if (mavenOptions.failAtEnd().orElse(false)) {
                cmdAndArguments.add("--fail-at-end");
            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  5. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/mvn/MavenOptions.java

         *
         * @return an {@link Optional} containing true if Maven should stop at the first failure, false if not, or empty if not specified
         */
        @Nonnull
        Optional<Boolean> failFast();
    
        /**
         * Indicates whether Maven should run all builds but defer error reporting to the end.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Oct 03 16:03:55 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/CommonsCliMavenOptions.java

                return Optional.of(Boolean.TRUE);
            }
            return Optional.empty();
        }
    
        @Override
        public Optional<Boolean> failFast() {
            if (commandLine.hasOption(CLIManager.FAIL_FAST)) {
                return Optional.of(Boolean.TRUE);
            }
            return Optional.empty();
        }
    
        @Override
        public Optional<Boolean> failAtEnd() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16K bytes
    - Viewed (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/DefaultMavenInvoker.java

            }
        }
    
        protected String determineReactorFailureBehaviour(C context) {
            MavenOptions mavenOptions = context.invokerRequest.options();
            if (mavenOptions.failFast().isPresent()) {
                return MavenExecutionRequest.REACTOR_FAIL_FAST;
            } else if (mavenOptions.failAtEnd().isPresent()) {
                return MavenExecutionRequest.REACTOR_FAIL_AT_END;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/execution/ReactorManager.java

        }
    
        public void setFailureBehavior(String failureBehavior) {
            if (failureBehavior == null) {
                this.failureBehavior = FAIL_FAST; // default
                return;
            }
            if (FAIL_FAST.equals(failureBehavior)
                    || FAIL_AT_END.equals(failureBehavior)
                    || FAIL_NEVER.equals(failureBehavior)) {
                this.failureBehavior = failureBehavior;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  9. compat/maven-embedder/src/main/java/org/apache/maven/cli/CLIManager.java

        @Deprecated
        public static final String ALTERNATE_GLOBAL_TOOLCHAINS = "gt";
    
        public static final String ALTERNATE_INSTALLATION_TOOLCHAINS = "it";
    
        public static final String FAIL_FAST = "ff";
    
        public static final String FAIL_ON_SEVERITY = "fos";
    
        public static final String FAIL_AT_END = "fae";
    
        public static final String FAIL_NEVER = "fn";
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/execution/MavenExecutionRequest.java

        // ----------------------------------------------------------------------
        // Reactor Failure Mode
        // ----------------------------------------------------------------------
    
        String REACTOR_FAIL_FAST = "FAIL_FAST";
    
        String REACTOR_FAIL_AT_END = "FAIL_AT_END";
    
        String REACTOR_FAIL_NEVER = "FAIL_NEVER";
    
        // ----------------------------------------------------------------------
        // Reactor Make Mode
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 18.4K bytes
    - Viewed (0)
Back to top