Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for isUpToDate (0.14 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. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/repositories/resolver/ExternalRepositoryResourceAccessor.java

        private static Long hashFor(@Nullable LocallyAvailableExternalResource resource) {
            return resource == null ? null : resource.getMetaData().getLastModified().getTime();
        }
    
        @Override
        public boolean isUpToDate(String resource, @Nullable Long oldValue) {
            String[] parts = resource.split(";");
            if (!rootUriAsString.equals(parts[0])) {
                // not the same provider
                return false;
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/repositories/DefaultFlatDirArtifactRepository.java

                // Service calls have no effect, no need to register them
                return this;
            }
    
            @Override
            public boolean isUpToDate(String s, @Nullable Long oldValue) {
                // Nothing accessible, always up to date
                return true;
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 8.9K bytes
    - Viewed (0)
Back to top