Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for CachingContext (0.16 sec)

  1. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/CachingContext.java

     * limitations under the License.
     */
    
    package org.gradle.internal.execution.steps;
    
    import org.gradle.internal.execution.caching.CachingState;
    
    public interface CachingContext extends Context {
        /**
         * The resolved state of caching for the work.
         */
        CachingState getCachingState();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jan 29 17:44:52 UTC 2024
    - 878 bytes
    - Viewed (0)
  2. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/legacy/MarkSnapshottingInputsFinishedStep.java

    import org.gradle.internal.execution.steps.CachingContext;
    import org.gradle.internal.execution.steps.Result;
    import org.gradle.internal.execution.steps.Step;
    
    /**
     * This is a temporary measure for Gradle tasks to track a legacy measurement of all input snapshotting together.
     */
    public class MarkSnapshottingInputsFinishedStep<C extends CachingContext, R extends Result> implements Step<C, R> {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  3. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/AbstractResolveCachingStateStepTest.groovy

            then:
            _ * buildCache.enabled >> false
            _ * context.beforeExecutionState >> Optional.empty()
            _ * context.validationProblems >> ImmutableList.of()
            1 * delegate.execute(work, { CachingContext context ->
                context.cachingState.whenDisabled().map { it.disabledReasons*.category }.get() == [CachingDisabledReasonCategory.BUILD_CACHE_DISABLED]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 06 13:26:04 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  4. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/ResolveIncrementalCachingStateStepTest.groovy

            _ * previousExecutionState.cacheKey >> cacheKey
            _ * context.validationProblems >> ImmutableList.of()
            1 * delegate.execute(work, { CachingContext context ->
                def buildCacheKey = context.cachingState.cacheKeyCalculatedState.get().key
                buildCacheKey.hashCode == cacheKey.toString()
            }) >> delegateResult
    
            where:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 08 08:29:47 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  5. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/TestCachingContext.groovy

     * limitations under the License.
     */
    
    package org.gradle.internal.execution.steps
    
    abstract class TestCachingContext extends WorkspaceContext implements CachingContext {
        TestCachingContext(WorkspaceContext parent) {
            super(parent)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 02 10:13:50 UTC 2024
    - 829 bytes
    - Viewed (0)
  6. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/IncrementalCachingContext.java

     */
    
    package org.gradle.internal.execution.steps;
    
    import org.gradle.internal.execution.caching.CachingState;
    
    public class IncrementalCachingContext extends IncrementalChangesContext implements CachingContext {
    
        private final CachingState cachingState;
    
        public IncrementalCachingContext(IncrementalChangesContext parent, CachingState cachingState) {
            super(parent);
            this.cachingState = cachingState;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 31 09:46:47 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  7. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/InputChangesContext.java

    import org.gradle.internal.execution.history.changes.InputChangesInternal;
    
    import javax.annotation.Nullable;
    import java.util.Optional;
    
    public class InputChangesContext extends ValidationFinishedContext implements CachingContext {
    
        private final InputChangesInternal inputChanges;
        private final CachingState cachingState;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 02 08:26:32 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  8. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/NonIncrementalCachingContext.java

     */
    
    package org.gradle.internal.execution.steps;
    
    import org.gradle.internal.execution.caching.CachingState;
    
    public class NonIncrementalCachingContext extends ValidationFinishedContext implements CachingContext {
    
        private final CachingState cachingState;
    
        public NonIncrementalCachingContext(ValidationFinishedContext parent, CachingState cachingState) {
            super(parent);
            this.cachingState = cachingState;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 31 09:46:47 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  9. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/NoInputChangesStep.java

     * limitations under the License.
     */
    
    package org.gradle.internal.execution.steps;
    
    import org.gradle.internal.execution.UnitOfWork;
    
    public class NoInputChangesStep<C extends ValidationFinishedContext & CachingContext, R extends Result> implements Step<C, R> {
        private final Step<? super InputChangesContext, ? extends R> delegate;
    
        public NoInputChangesStep(Step<? super InputChangesContext, ? extends R> delegate) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 02 08:26:32 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  10. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/ResolveNonIncrementalCachingStateStepTest.groovy

            _ * context.beforeExecutionState >> Optional.of(beforeExecutionState)
    
            _ * context.validationProblems >> ImmutableList.of()
            1 * delegate.execute(work, { CachingContext context ->
                context.cachingState.cacheKeyCalculatedState.isPresent()
            }) >> delegateResult
    
            where:
            buildCacheEnabled << [true, false]
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 08 08:29:47 UTC 2024
    - 1.8K bytes
    - Viewed (0)
Back to top