Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 401 for Satisfied (0.17 sec)

  1. subprojects/core/src/main/java/org/gradle/api/internal/specs/ExplainingSpec.java

     */
    public interface ExplainingSpec<T> extends Spec<T> {
    
        /**
         * Explains why the spec is not satisfied.
         *
         * @param element candidate
         * @return the description. Must not be null if the spec is not satisfied. Is null if spec is satisfied.
         */
        String whyUnsatisfied(T element);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 02 16:56:13 UTC 2016
    - 1.1K bytes
    - Viewed (0)
  2. platforms/enterprise/enterprise-operations/src/main/java/org/gradle/operations/execution/CachingDisabledReasonCategory.java

         * @since 5.0
         */
        NON_CACHEABLE_TREE_OUTPUT,
    
        /**
         * Condition enabling caching isn't satisfied.
         * <p>
         * E.g. for a task caching is disabled via {@code org.gradle.api.tasks.TaskOutputs#cacheIf(Spec)}.
         */
        CACHE_IF_SPEC_NOT_SATISFIED,
    
        /**
         * Condition disabling caching satisfied.
         * <p>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jul 10 08:07:59 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  3. subprojects/core-api/src/main/java/org/gradle/api/tasks/TaskOutputs.java

         */
        void upToDateWhen(Spec<? super Task> upToDateSpec);
    
        /**
         * <p>Cache the results of the task only if the given spec is satisfied. If the spec is not satisfied,
         * the results of the task will not be cached.</p>
         *
         * <p>You may add multiple such predicates. The results of the task are not cached if any of the predicates return {@code false},
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 05 11:37:21 UTC 2019
    - 7.5K bytes
    - Viewed (0)
  4. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/caching/CachingDisabledReasonCategory.java

        /**
         * Caching has not been enabled for the work.
         */
        NOT_CACHEABLE,
    
        /**
         * Condition enabling caching isn't satisfied.
         */
        ENABLE_CONDITION_NOT_SATISFIED,
    
        /**
         * Condition disabling caching satisfied.
         */
        DISABLE_CONDITION_SATISFIED,
    
        /**
         * The work has no outputs declared.
         */
        NO_OUTPUTS_DECLARED,
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  5. testing/architecture-test/src/test/java/org/gradle/architecture/test/ProviderMigrationArchitectureTest.java

                boolean satisfied = javaMethod.getRawReturnType().isAssignableTo(expectedReturnType);
                String message = createMessage(javaMethod, (satisfied ? "has " : "does not have ") + "raw return type assignable to " + expectedReturnType.getName());
                events.add(new SimpleConditionEvent(javaMethod, satisfied, message));
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/api/internal/tasks/execution/SkipOnlyIfTaskExecuter.java

                    state.setSkipReasonMessage("'" + selfDescribingSpec.getDisplayName() + "' not satisfied");
                } else {
                    LOGGER.info("Skipping {} as task onlyIf is false.", task);
                    state.setSkipReasonMessage("onlyIf not satisfied");
                }
                state.setOutcome(TaskExecutionOutcome.SKIPPED);
                return TaskExecuterResult.WITHOUT_OUTPUTS;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 24 11:36:30 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  7. subprojects/core/src/integTest/groovy/org/gradle/api/internal/tasks/TaskCacheabilityReasonIntegrationTest.groovy

            "cacheIf('cache-if reason') { false }"            | CACHE_IF_SPEC_NOT_SATISFIED    | "'cache-if reason' not satisfied"
            "doNotCacheIf('do-not-cache-if reason') { true }" | DO_NOT_CACHE_IF_SPEC_SATISFIED | "'do-not-cache-if reason' satisfied"
        }
    
        def "cacheability for a #taskType task can be enabled via #condition"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 16:59:01 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  8. src/os/error.go

    	if err == nil {
    		return nil
    	}
    	return &SyscallError{syscall, err}
    }
    
    // IsExist returns a boolean indicating whether the error is known to report
    // that a file or directory already exists. It is satisfied by [ErrExist] as
    // well as some syscall errors.
    //
    // This function predates [errors.Is]. It only supports errors returned by
    // the os package. New code should use errors.Is(err, fs.ErrExist).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:33:12 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

      static class FlagGuard extends Monitor.Guard {
    
        private boolean satisfied;
    
        protected FlagGuard(Monitor monitor) {
          super(monitor);
        }
    
        @Override
        public boolean isSatisfied() {
          return satisfied;
        }
    
        public void setSatisfied(boolean satisfied) {
          this.satisfied = satisfied;
        }
      }
    
      private final Method method;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  10. subprojects/core/src/integTest/groovy/org/gradle/api/internal/tasks/TaskOnlyIfReasonIntegrationTest.groovy

            "onlyIf(new Spec<Task>() { boolean isSatisfiedBy(Task task) { return false } })"    | "Task satisfies onlyIf spec"
            "setOnlyIf { false }"                                                               | "Task satisfies onlyIf closure"
            "setOnlyIf(new Spec<Task>() { boolean isSatisfiedBy(Task task) { return false } })" | "Task satisfies onlyIf spec"
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jul 01 11:18:25 UTC 2022
    - 2.6K bytes
    - Viewed (0)
Back to top