Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for isUpToDate (0.18 sec)

  1. platforms/software/dependency-management/src/main/java/org/gradle/internal/resolve/caching/ImplicitInputsProvidingService.java

     *
     * In the external resource example, a record may consist of the external resource URI and
     * the external resource text. Then when we need to check if the resource is up-to-date,
     * we can ask the service by calling {@code isUpToDate(IN, OUT)} with
     * the URI as an input.
     *
     * It's up to the service implementation to determine:
     *
     * - the type of the input which allows requesting its up-to-date ness ({@link IN}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/api/internal/tasks/TaskExecutionOutcome.java

            this.skipped = skipped;
            this.upToDate = upToDate;
            this.message = message;
        }
    
        public boolean isSkipped() {
            return skipped;
        }
    
        public boolean isUpToDate() {
            return upToDate;
        }
    
        @Nullable
        public String getMessage() {
            return message;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 16 16:09:32 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/events/task/internal/DefaultTaskSuccessResult.java

            super(startTime, endTime);
            this.upToDate = upToDate;
            this.fromCache = fromCache;
            this.taskExecutionDetails = taskExecutionDetails;
        }
    
        @Override
        public boolean isUpToDate() {
            return this.upToDate;
        }
    
        @Override
        public boolean isFromCache() {
            return fromCache;
        }
    
        @Override
        public boolean isIncremental() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  4. platforms/extensibility/test-kit/src/main/java/org/gradle/testkit/runner/internal/ToolingApiGradleExecutor.java

            private boolean isSkipped(TaskOperationResult result) {
                return result instanceof TaskSkippedResult;
            }
    
            private boolean isUpToDate(TaskOperationResult result) {
                return result instanceof TaskSuccessResult && ((TaskSuccessResult) result).isUpToDate();
            }
    
            private boolean isFromCache(TaskOperationResult result) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 05 14:27:21 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/resolve/caching/CrossBuildCachingRuleExecutorTest.groovy

            1 * implicitInput2.getInput() >> '/foo/baz'
            1 * implicitInput2.getOutput() >> 'abcdef987'
            1 * validator.isValid(cachePolicy, _) >> true
            1 * service.isUpToDate('/foo/bar', 'abcdef012') >> true
            1 * service.isUpToDate('/foo/baz', 'abcdef987') >> false
            2 * serviceRegistry.find(SomeService) >> service
            2 * service.withImplicitInputRecorder(_) >> service
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 10 15:51:31 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  6. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/protocol/events/InternalTaskSuccessResult.java

        /**
         * Returns whether this task was up-to-date.
         *
         * @return {@code true} if this task was up-to-date
         */
        boolean isUpToDate();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 1022 bytes
    - Viewed (0)
  7. subprojects/build-events/src/main/java/org/gradle/internal/build/event/types/DefaultJavaCompileTaskSuccessResult.java

        public DefaultJavaCompileTaskSuccessResult(DefaultTaskSuccessResult delegate, List<InternalAnnotationProcessorResult> annotationProcessorResults) {
            super(delegate.getStartTime(), delegate.getEndTime(), delegate.isUpToDate(), delegate.isFromCache(), delegate.getOutcomeDescription(), delegate.isIncremental(), delegate.getExecutionReasons());
            this.annotationProcessorResults = annotationProcessorResults;
        }
    
        @Nullable
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Nov 29 00:04:07 UTC 2019
    - 1.6K bytes
    - Viewed (0)
  8. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/events/task/TaskSuccessResult.java

    public interface TaskSuccessResult extends TaskExecutionResult, SuccessResult {
        /**
         * Returns whether this task was up-to-date.
         *
         * @return {@code true} if this task was up-to-date
         */
        boolean isUpToDate();
    
        /**
         * Returns whether the output for this task was pulled from a build cache when using
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  9. subprojects/build-events/src/main/java/org/gradle/internal/build/event/types/DefaultTaskSuccessResult.java

            super(startTime, endTime, outcomeDescription, incremental, executionReasons);
            this.upToDate = upToDate;
            this.fromCache = fromCache;
        }
    
        @Override
        public boolean isUpToDate() {
            return upToDate;
        }
    
        @Override
        public boolean isFromCache() {
            return fromCache;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Nov 29 00:04:07 UTC 2019
    - 1.6K bytes
    - Viewed (0)
  10. cluster/images/etcd/migrate/data_dir.go

    func (v *VersionFile) Write(vp *EtcdVersionPair) error {
    	// We do write only if file content differs from given EtcdVersionPair.
    	isUpToDate, err := v.equals(vp)
    	if err != nil {
    		return fmt.Errorf("failed to to check if version file %s should be changed: %v", v.path, err)
    	}
    	if isUpToDate {
    		return nil
    	}
    	// We do write + rename instead of just write to protect from version.txt
    	// corruption under full disk condition.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Dec 09 19:13:17 UTC 2021
    - 5.2K bytes
    - Viewed (0)
Back to top