Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for isUpToDate (0.5 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/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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/services/RemoteScriptUpToDateChecker.kt

        private val externalResourceConnector: ExternalResourceConnector,
        private val cachedExternalResourceIndex: CachedExternalResourceIndex<String>
    ) {
    
        fun isUpToDate(uri: URI): Boolean =
            if (startParameter.isOffline) {
                true
            } else {
                val externalResourceName = ExternalResourceName(uri)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  10. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.cache-miss-monitor.gradle.kts

        override val collectedInformation: Serializable = cacheMiss
    
        override fun action(taskPath: String, taskResult: TaskOperationResult) {
            if (taskResult is TaskSuccessResult && !taskResult.isFromCache && !taskResult.isUpToDate) {
                println("CACHE_MISS in task $taskPath")
                cacheMiss.set(true)
            }
        }
    }
    
    
    /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 07 05:49:29 UTC 2024
    - 4.6K bytes
    - Viewed (0)
Back to top