Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for totalProgress (0.19 sec)

  1. platforms/core-runtime/build-operations/src/main/java/org/gradle/internal/operations/BuildOperationDescriptor.java

            public Builder metadata(BuildOperationMetadata metadata) {
                this.metadata = metadata;
                return this;
            }
    
            public Builder totalProgress(int totalProgress) {
                this.totalProgress = totalProgress;
                return this;
            }
    
            /**
             * Define the parent of the operation. Needs to be the state of an operations that is running at the same time
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 14:19:43 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  2. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/events/ProgressStartEvent.java

            this.parentProgressOperationId = parentProgressOperationId;
            this.description = description;
            this.loggingHeader = loggingHeader;
            this.status = status;
            this.totalProgress = totalProgress;
            this.buildOperationStart = buildOperationStart;
            this.buildOperationId = buildOperationId;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  3. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/console/BuildStatusRendererTest.groovy

        }
    
        def startConfigureRootBuild(Long id, Long parentId, int totalProgress) {
            return start(id, parentId, BuildOperationCategory.CONFIGURE_ROOT_BUILD, totalProgress)
        }
    
        def startConfigureBuild(Long id, Long parentId, int totalProgress) {
            return start(id, parentId, BuildOperationCategory.CONFIGURE_BUILD, totalProgress)
        }
    
        def startConfigureProject(Long id, Long parentId) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  4. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/progress/DefaultProgressLoggerFactory.java

            public void started() {
                started(null);
            }
    
            @Override
            public void started(String status) {
                started(status, totalProgress);
            }
    
            private void started(String status, int totalProgress) {
                if (!GUtil.isTrue(description)) {
                    throw new IllegalStateException("A description must be specified before this operation is started.");
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  5. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/console/ProgressBar.java

            this.incompleteChar = incompleteChar;
            this.suffix = suffix;
            this.current = initialProgress;
            this.total = totalProgress;
        }
    
        public void moreProgress(int totalProgress) {
            total += totalProgress;
            formatted = null;
        }
    
        public void update(boolean failing) {
            this.current++;
            if (current > total) {
                if (deadlockPreventer == null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  6. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/serializer/ProgressStartEventSerializerTest.groovy

            result.timestamp == TIMESTAMP
            result.category == CATEGORY
            result.description == DESCRIPTION
            result.loggingHeader == "header"
            result.status == "status"
            result.totalProgress == 10
            result.buildOperationStart
            result.buildOperationId == new OperationIdentifier(42L)
            result.buildOperationCategory == category
    
            where:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  7. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/console/BuildStatusRenderer.java

            return new ProgressBar(consoleMetaData,
                PROGRESS_BAR_PREFIX,
                PROGRESS_BAR_WIDTH,
                PROGRESS_BAR_SUFFIX,
                PROGRESS_BAR_COMPLETE_CHAR,
                PROGRESS_BAR_INCOMPLETE_CHAR,
                initialSuffix, initialProgress, totalProgress);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  8. subprojects/core/src/main/java/org/gradle/execution/BuildOperationFiringBuildWorkerExecutor.java

                    builder.details(new RunRootBuildWorkBuildOperationType.Details(buildStartTime));
                }
                builder.metadata(BuildOperationCategory.RUN_WORK);
                builder.totalProgress(gradle.getTaskGraph().size());
                return builder;
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 13:46:07 UTC 2024
    - 3K bytes
    - Viewed (0)
  9. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/serializer/ProgressStartEventSerializer.java

            } else if ((flags & STATUS_IS_SUB_DESCRIPTION) != 0) {
                int length = decoder.readSmallInt();
                status = description.substring(description.length() - length);
            }
    
            int totalProgress = decoder.readSmallInt();
    
            boolean buildOperationStart = (flags & BUILD_OPERATION_START) != 0;
    
            OperationIdentifier buildOperationId = null;
            if ((flags & BUILD_OPERATION_ID) != 0) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  10. subprojects/core/src/main/java/org/gradle/configuration/BuildOperationFiringProjectsPreparer.java

                    builder.metadata(BuildOperationCategory.CONFIGURE_ROOT_BUILD);
                } else {
                    builder.metadata(BuildOperationCategory.CONFIGURE_BUILD);
                }
                builder.totalProgress(gradle.getSettings().getProjectRegistry().size());
                //noinspection Convert2Lambda
                return builder.details(new ConfigureBuildBuildOperationType.Details() {
                    @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 13:46:07 UTC 2024
    - 2.9K bytes
    - Viewed (0)
Back to top