- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 20 for WorkspaceContext (1.89 sec)
-
platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/WorkspaceContext.java
import javax.annotation.Nullable; import java.io.File; import java.util.Optional; public class WorkspaceContext extends IdentityContext { private final File workspace; private final ExecutionHistoryStore history; private final boolean captureBeforeExecutionState; public WorkspaceContext(IdentityContext parent, File workspace, @Nullable ExecutionHistoryStore history, boolean captureBeforeExecutionState) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 22 09:41:28 UTC 2023 - 1.8K bytes - Viewed (0) -
platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/AssignMutableWorkspaceStep.java
public class AssignMutableWorkspaceStep<C extends IdentityContext> implements Step<C, WorkspaceResult> { private final Step<? super WorkspaceContext, ? extends CachingResult> delegate; public AssignMutableWorkspaceStep(Step<? super WorkspaceContext, ? extends CachingResult> delegate) { this.delegate = delegate; } @Override public WorkspaceResult execute(UnitOfWork work, C context) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 22 09:41:28 UTC 2023 - 1.6K bytes - Viewed (0) -
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) -
platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/AssignImmutableWorkspaceStepConcurrencyTest.groovy
private static class MockStep implements Step<WorkspaceContext, CachingResult> { BiFunction<UnitOfWork, WorkspaceContext, CachingResult> expectCall @Override CachingResult execute(UnitOfWork work, WorkspaceContext context) { def call = expectCall expectCall = null return call.apply(work, context)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 22 09:46:25 UTC 2023 - 6.5K bytes - Viewed (0) -
platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/AssignImmutableWorkspaceStepTest.groovy
} then: 1 * fileSystemAccess.invalidate([temporaryWorkspace.absolutePath]) then: 1 * delegate.execute(work, _ as WorkspaceContext) >> { UnitOfWork work, WorkspaceContext delegateContext -> assert delegateContext.workspace == temporaryWorkspace temporaryWorkspace.file("output.txt").text = "output" return delegateResult }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 19 14:32:25 UTC 2024 - 13K bytes - Viewed (0) -
platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/AfterExecutionOutputFilter.java
public interface AfterExecutionOutputFilter<C extends WorkspaceContext> { ImmutableSortedMap<String, FileSystemSnapshot> filterOutputs(C context, BeforeExecutionState beforeExecutionState, ImmutableSortedMap<String, FileSystemSnapshot> outputSnapshotsAfterExecution); AfterExecutionOutputFilter<WorkspaceContext> NO_FILTER = (context, beforeExecutionState, outputSnapshotsAfterExecution) -> outputSnapshotsAfterExecution;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Feb 05 09:40:08 UTC 2024 - 1.2K bytes - Viewed (0) -
platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/PreviousExecutionContext.java
import javax.annotation.Nullable; import java.util.Optional; public class PreviousExecutionContext extends WorkspaceContext { private final PreviousExecutionState previousExecutionState; public PreviousExecutionContext(WorkspaceContext parent, @Nullable PreviousExecutionState previousExecutionState) { super(parent); this.previousExecutionState = previousExecutionState; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 22 09:41:28 UTC 2023 - 1.5K bytes - Viewed (0) -
platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/AssignMutableWorkspaceStepTest.groovy
def actionResult = action.executeInWorkspace(workspace, null) return actionResult } 1 * delegate.execute(work, _ as WorkspaceContext) >> { UnitOfWork work, WorkspaceContext context -> assert context.workspace == workspace return delegateResult } 0 * _ when: def output = result.getOutputAs(Object)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 23 18:58:57 UTC 2023 - 2.3K bytes - Viewed (0) -
platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/LoadPreviousExecutionStateStep.java
import org.gradle.internal.execution.UnitOfWork; import org.gradle.internal.execution.UnitOfWork.Identity; import org.gradle.internal.execution.history.PreviousExecutionState; public class LoadPreviousExecutionStateStep<C extends WorkspaceContext, R extends AfterExecutionResult> implements Step<C, R> { private final Step<? super PreviousExecutionContext, ? extends R> delegate;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 22 09:41:29 UTC 2023 - 1.9K bytes - Viewed (0) -
platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/AbstractSkipEmptyWorkStepTest.groovy
import static org.gradle.internal.execution.ExecutionEngine.ExecutionOutcome.SHORT_CIRCUITED import static org.gradle.internal.properties.InputBehavior.PRIMARY abstract class AbstractSkipEmptyWorkStepTest<C extends WorkspaceContext> extends StepSpec<C> { def workInputListeners = Mock(WorkInputListeners) def inputFingerprinter = Mock(InputFingerprinter) def primaryFileInputs = EnumSet.of(PRIMARY)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Apr 06 02:21:30 UTC 2024 - 5.6K bytes - Viewed (0)