Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for getBuildOperationWorkType (0.3 sec)

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

            cacheResult.getOriginMetadata().ifPresent(originMetadata ->
                progressEventEmitter.emitNowIfCurrent(new DefaultExecuteDeferredWorkProgressDetails(
                    work.getBuildOperationWorkType().orElse(null),
                    identity,
                    originMetadata
                ))
            );
        }
    
        private <T> IdentityCacheResult<T> executeInCache(UnitOfWork work, C context) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 08 16:30:23 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  2. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/ExecuteWorkBuildOperationFiringStep.java

            super(buildOperationRunner);
            this.delegate = delegate;
        }
    
        @Override
        public R execute(UnitOfWork work, C context) {
            return work.getBuildOperationWorkType()
                .map(workType -> operation(
                    operationContext -> {
                        R result = delegate.execute(work, context);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 10:36:34 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/transform/AbstractTransformExecution.java

            this.inputFingerprinter = inputFingerprinter;
            this.disableCachingByProperty = disableCachingByProperty;
        }
    
        @Override
        public Optional<String> getBuildOperationWorkType() {
            return Optional.of("TRANSFORM");
        }
    
        @Override
        public Identity identify(Map<String, ValueSnapshot> identityInputs, Map<String, CurrentFileCollectionFingerprint> identityFileInputs) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 11:52:44 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  4. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/UnitOfWork.java

        /**
         * Identifier of the type of the work used in build operations.
         * <p>
         * Values returned here become part of the contract of related build operations.
         */
        default Optional<String> getBuildOperationWorkType() {
            return Optional.empty();
        }
    
        /**
         * Determine the identity of the work unit that uniquely identifies it
         * among the other work units of the same type in the current build.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:28 UTC 2023
    - 13.1K bytes
    - Viewed (0)
Back to top