Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for isUpToDate (0.54 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. 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)
  8. 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)
  9. 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)
  10. build-logic/lifecycle/src/main/kotlin/gradlebuild.teamcity-import-test-data.gradle.kts

            val outputXmlPath = parameters.testTaskPathToJUnitXmlLocation.get().get(taskPath) ?: return
    
            val taskResult = event.result
    
            if (taskResult is TaskSuccessResult && (taskResult.isFromCache || taskResult.isUpToDate)) {
                println("##teamcity[importData type='junit' path='$outputXmlPath/TEST-*.xml' verbose='true']")
            }
        }
    }
    
    if (isTeamCityParallelTestsEnabled) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 06 09:11:39 UTC 2023
    - 3.1K bytes
    - Viewed (0)
Back to top