Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for OperationProgressDetails (0.36 sec)

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

    /**
     * Detail included in {@link OperationProgressEvent} instances to indicate some general progress of the build operation.
     */
    public class OperationProgressDetails {
        private final long progress;
        private final long total;
        private final String units;
    
        public OperationProgressDetails(long progress, long total, String units) {
            this.progress = progress;
            this.total = total;
            this.units = units;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 14:19:43 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api-builders/src/main/java/org/gradle/tooling/internal/provider/runner/FileDownloadOperationMapper.java

        public InternalProgressEvent createProgressEvent(DefaultFileDownloadDescriptor descriptor, OperationProgressEvent progressEvent) {
            if (progressEvent.getDetails() instanceof OperationProgressDetails) {
                OperationProgressDetails details = (OperationProgressDetails) progressEvent.getDetails();
                return new DefaultStatusEvent(progressEvent.getTime(), descriptor, details.getProgress(), details.getTotal(), details.getUnits());
            } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  3. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/BuildOperationNotificationsFixture.groovy

                    }
    
                    private void verify(Object obj, String suffix = null) {
                        if (obj.getClass().getName().equals("org.gradle.internal.operations.OperationProgressDetails")) {
                            // This progress notification is emitted by Gradle itself.
                            return;
                        }
                        def matchingInterfaces = findPublicInterfaces(obj, suffix)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/internal/operations/BuildOperationProgressEventListenerAdapter.java

            progress(descriptor, status);
            buildOperationListener.progress(descriptor.getId(), new OperationProgressEvent(clock.getCurrentTime(), new OperationProgressDetails(progress, total, units)));
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 15:53:27 UTC 2024
    - 4.2K bytes
    - Viewed (0)
Back to top