Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 101 for UnitOfWork (0.17 sec)

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

        @Nullable
        abstract protected OverlappingOutputs detectOverlappingOutputs(UnitOfWork work, PreviousExecutionContext context, ImmutableSortedMap<String, FileSystemSnapshot> unfilteredOutputSnapshots);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 10:36:34 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  2. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/SkipUpToDateStep.java

            );
        }
    
        private UpToDateResult executeBecause(UnitOfWork work, ImmutableList<String> reasons, C context) {
            logExecutionReasons(reasons, work);
            AfterExecutionResult result = delegate.execute(work, context);
            return new UpToDateResult(result, reasons);
        }
    
        private static void logExecutionReasons(List<String> reasons, UnitOfWork work) {
            if (LOGGER.isInfoEnabled()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:34 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  3. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/ResolveInputChangesStepTest.groovy

            then:
            _ * work.executionBehavior >> UnitOfWork.ExecutionBehavior.INCREMENTAL
            _ * context.changes >> optionalChanges
            1 * changes.createInputChanges() >> inputChanges
            1 * inputChanges.incremental >> true
            1 * delegate.execute(work, _ as InputChangesContext) >> { UnitOfWork work, InputChangesContext context ->
                assert context.inputChanges.get() == inputChanges
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 02 10:13:50 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  4. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/ResolveChangesStep.java

    import com.google.common.collect.ImmutableList;
    import org.gradle.api.InvalidUserDataException;
    import org.gradle.internal.execution.UnitOfWork;
    import org.gradle.internal.execution.UnitOfWork.InputFileValueSupplier;
    import org.gradle.internal.execution.UnitOfWork.InputVisitor;
    import org.gradle.internal.execution.history.BeforeExecutionState;
    import org.gradle.internal.execution.history.changes.DefaultIncrementalInputProperties;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 02 17:10:38 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  5. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/BroadcastChangingOutputsStepTest.groovy

            ]
    
            when:
            step.execute(work, context)
    
            then:
            _ * work.visitOutputs(_ as File, _ as UnitOfWork.OutputVisitor) >> { File workspace, UnitOfWork.OutputVisitor visitor ->
                visitor.visitOutputProperty("output", TreeType.DIRECTORY, UnitOfWork.OutputFileValueSupplier.fromStatic(outputDir, Mock(FileCollection)))
                visitor.visitDestroyable(destroyableDir)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:23 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  6. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/CaptureIncrementalStateBeforeExecutionStep.java

        }
    
        @Override
        protected ImmutableSortedMap<String, FileSystemSnapshot> captureOutputSnapshots(UnitOfWork work, WorkspaceContext context) {
            return outputSnapshotter.snapshotOutputs(work, context.getWorkspace());
        }
    
        @Nullable
        @Override
        protected OverlappingOutputs detectOverlappingOutputs(UnitOfWork work, PreviousExecutionContext context, ImmutableSortedMap<String, FileSystemSnapshot> unfilteredOutputSnapshots) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 10:36:34 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  7. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/AssignMutableWorkspaceStep.java

     * limitations under the License.
     */
    
    package org.gradle.internal.execution.steps;
    
    import org.gradle.internal.execution.MutableUnitOfWork;
    import org.gradle.internal.execution.UnitOfWork;
    
    public class AssignMutableWorkspaceStep<C extends IdentityContext> implements Step<C, WorkspaceResult> {
        private final Step<? super WorkspaceContext, ? extends CachingResult> delegate;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:28 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  8. platforms/core-runtime/launcher/src/main/java/org/gradle/tooling/internal/provider/continuous/AccumulateBuildInputsListener.java

    import org.gradle.api.internal.file.collections.FileSystemMirroringFileTree;
    import org.gradle.api.tasks.util.PatternSet;
    import org.gradle.internal.execution.UnitOfWork;
    import org.gradle.internal.execution.UnitOfWork.InputFileValueSupplier;
    import org.gradle.internal.execution.UnitOfWork.InputVisitor;
    import org.gradle.internal.execution.WorkInputListener;
    import org.gradle.internal.properties.InputBehavior;
    
    import java.io.File;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  9. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/impl/DefaultOutputSnapshotter.java

        public ImmutableSortedMap<String, FileSystemSnapshot> snapshotOutputs(UnitOfWork work, File workspace) {
            ImmutableSortedMap.Builder<String, FileSystemSnapshot> builder = ImmutableSortedMap.naturalOrder();
            work.visitOutputs(workspace, new UnitOfWork.OutputVisitor() {
                @Override
                public void visitOutputProperty(String propertyName, TreeType type, UnitOfWork.OutputFileValueSupplier value) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  10. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/PreCreateOutputParentsStep.java

            this.delegate = delegate;
        }
    
        @Override
        public R execute(UnitOfWork work, C context) {
            work.visitOutputs(context.getWorkspace(), new UnitOfWork.OutputVisitor() {
                @Override
                public void visitOutputProperty(String propertyName, TreeType type, UnitOfWork.OutputFileValueSupplier value) {
                    ensureOutput(propertyName, value.getValue(), type);
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:22 UTC 2023
    - 2.4K bytes
    - Viewed (0)
Back to top