Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for buildOperationId (0.28 sec)

  1. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/events/RenderableOutputEvent.java

    public abstract class RenderableOutputEvent extends CategorisedOutputEvent {
        private OperationIdentifier buildOperationId;
    
        protected RenderableOutputEvent(long timestamp, String category, LogLevel logLevel, @Nullable OperationIdentifier buildOperationId) {
            super(timestamp, category, logLevel);
            this.buildOperationId = buildOperationId;
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  2. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/OutputSpecification.groovy

        }
    
        LogEvent event(String text, LogLevel logLevel, long buildOperationId) {
            event(text, logLevel, new OperationIdentifier(buildOperationId))
        }
    
        LogEvent event(String text, LogLevel logLevel, OperationIdentifier buildOperationId) {
            return new LogEvent(tenAm, 'category', logLevel, text, null, buildOperationId)
        }
    
        LogEvent event(long timestamp, String text, LogLevel logLevel) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  3. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/serializer/ProgressStartEventSerializer.java

                    flags |= STATUS_IS_SUB_DESCRIPTION;
                } else {
                    flags |= STATUS;
                }
            }
    
            OperationIdentifier buildOperationId = event.getBuildOperationId();
            if (buildOperationId != null) {
                if (buildOperationId.equals(event.getProgressOperationId())) {
                    flags |= BUILD_OPERATION_ID_IS_PROGRESS_ID;
                } else {
                    flags |= BUILD_OPERATION_ID;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  4. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/events/ProgressStartEvent.java

            this.loggingHeader = loggingHeader;
            this.status = status;
            this.totalProgress = totalProgress;
            this.buildOperationStart = buildOperationStart;
            this.buildOperationId = buildOperationId;
            this.buildOperationCategory = buildOperationCategory == null ? BuildOperationCategory.UNCATEGORIZED : buildOperationCategory;
        }
    
        @Nullable
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  5. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/serializer/ProgressStartEventSerializerTest.groovy

            when:
            def result = serialize(event, serializer)
    
            then:
            result instanceof ProgressStartEvent
            result.progressOperationId == progressId
            result.parentProgressOperationId == parentProgressId
            result.buildOperationId == buildOperationId
    
            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)
  6. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/progress/DefaultProgressLoggerFactory.java

                this.category = category;
                this.listener = listener;
                this.clock = clock;
                this.buildOperationStart = buildOperationStart;
                this.buildOperationId = buildOperationId;
                this.parentBuildOperationId = parentBuildOperationId;
                this.buildOperationCategory = buildOperationCategory;
            }
    
            @Override
            public String toString() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  7. platforms/ide/tooling-api-builders/src/main/java/org/gradle/tooling/internal/provider/runner/TestOperationMapper.java

            }
            return new DefaultTestDescriptor(buildOperationId, suite.getName(), operationDisplayName, suite.getDisplayName(), InternalJvmTestDescriptor.KIND_SUITE, suite.getName(), suite.getClassName(), methodName, parentId, taskTracker.getTaskPath(buildOperationId));
        }
    
        private DefaultTestDescriptor toTestDescriptorForTest(OperationIdentifier buildOperationId, OperationIdentifier parentId, TestDescriptor test) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 08:42:44 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  8. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/sink/GroupingProgressLogEventGeneratorTest.groovy

            def taskAOutput = event('message for task a', LogLevel.WARN, taskAStartEvent.buildOperationId)
            def taskBOutput = event('message for task b', LogLevel.WARN, taskBStartEvent.buildOperationId)
            def taskBCompleteEvent = new ProgressCompleteEvent(taskBStartEvent.progressOperationId, tenAm, null, false)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 23.9K bytes
    - Viewed (0)
  9. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/sink/OutputEventRendererTest.groovy

            when:
            renderer.enableUserStandardOutputListeners()
            renderer.addStandardOutputListener(listener)
            renderer.onOutput(start(loggingHeader: 'description', buildOperationId: 1L, buildOperationCategory: BuildOperationCategory.TASK))
            renderer.onOutput(complete('status'))
    
            then:
            listener.value.readLines() == ['description status']
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 01 19:25:32 UTC 2024
    - 17.8K bytes
    - Viewed (0)
  10. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/serializer/LogEventSerializerTest.groovy

            result.throwable.getClass() == event.throwable.getClass()
            result.throwable.message == event.throwable.message
            result.throwable.stackTrace == event.throwable.stackTrace
            result.buildOperationId == new OperationIdentifier(42L)
        }
    
        def "can serialize LogEvent messages"() {
            when:
            def event = new LogEvent(TIMESTAMP, CATEGORY, LogLevel.LIFECYCLE, MESSAGE, null, null)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 3.1K bytes
    - Viewed (0)
Back to top