- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for newOperation (0.15 sec)
-
platforms/enterprise/enterprise-logging/src/main/java/org/gradle/internal/logging/progress/ProgressLoggerFactory.java
* @return The progress logger for the operation. */ ProgressLogger newOperation(String loggerCategory); /** * Creates a new long-running operation which has not been started. * * @param loggerCategory The logger category. * @return The progress logger for the operation. */ ProgressLogger newOperation(Class<?> loggerCategory); /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 17 00:47:05 UTC 2024 - 2K bytes - Viewed (0) -
subprojects/core/src/testFixtures/groovy/org/gradle/internal/progress/RecordingProgressLoggerFactory.groovy
private List<String> messages = [] ProgressLogger newOperation(String loggerCategory) { return new Logger(messages) } ProgressLogger newOperation(Class<?> loggerCategory) { return new Logger(messages) } ProgressLogger newOperation(Class<?> loggerCategory, BuildOperationDescriptor buildOperationDescriptor) { return new Logger(messages)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Mar 27 07:57:46 UTC 2023 - 2.4K bytes - Viewed (0) -
subprojects/core/src/testFixtures/groovy/org/gradle/internal/progress/NoOpProgressLoggerFactory.groovy
ProgressLogger newOperation(String loggerCategory) { return new Logger() } ProgressLogger newOperation(Class<?> loggerCategory) { return new Logger() } ProgressLogger newOperation(Class<?> loggerCategory, BuildOperationDescriptor buildOperationDescriptor) { return new Logger() } ProgressLogger newOperation(Class<?> loggerClass, ProgressLogger parent) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 24 17:26:49 UTC 2023 - 2K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/operations/BuildOperationProgressEventListenerAdapter.java
buildOperationListener.started(descriptor, new OperationStartEvent(operationState.getStartTime())); ProgressLogger progressLogger = progressLoggerFactory.newOperation(DefaultBuildOperationRunner.class, descriptor); this.progressLogger = progressLogger.start(descriptor.getDisplayName(), descriptor.getProgressDisplayName()); } @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) -
platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/consumer/connection/ProgressLoggingConsumerActionExecutor.java
ListenerManager listenerManager = loggingProvider.getListenerManager(); listenerManager.addListener(listener); try { ProgressLogger progressLogger = loggingProvider.getProgressLoggerFactory().newOperation(ProgressLoggingConsumerActionExecutor.class); progressLogger.setDescription("Build"); progressLogger.started(); try { return actionExecutor.run(action);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 3.5K bytes - Viewed (0) -
platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/logging/TestCountLogger.java
dest.append("s"); } } @Override public void beforeSuite(TestDescriptor suite) { if (suite.getParent() == null) { progressLogger = factory.newOperation(TestCountLogger.class); progressLogger.setDescription("Run tests"); progressLogger.started(); progressLogger.progress(summary()); } } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 3.6K bytes - Viewed (0) -
platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/logging/TestCountLoggerTest.groovy
private final TestCountLogger logger = new TestCountLogger(factory, errorLogger) private final String sep = TextUtil.platformLineSeparator def setup() { factory.newOperation(TestCountLogger) >> progressLogger } def startsProgressLoggerWhenRootSuiteIsStartedAndStopsWhenRootSuiteIsCompleted() { when: logger.beforeSuite(rootSuite) then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 4.3K bytes - Viewed (0) -
platforms/ide/tooling-api/src/test/groovy/org/gradle/tooling/internal/consumer/connection/ProgressLoggingConsumerActionExecutorTest.groovy
1 * loggingProvider.listenerManager >> listenerManager 1 * loggingProvider.progressLoggerFactory >> progressLoggerFactory 1 * listenerManager.addListener(!null) 1 * progressLoggerFactory.newOperation(ProgressLoggingConsumerActionExecutor.class) >> progressLogger 1 * progressLogger.setDescription('Build') 1 * progressLogger.started() 1 * target.run(action) 1 * progressLogger.completed()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 2.6K bytes - Viewed (0) -
platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/consumer/loader/SynchronizedToolingImplementationLoader.java
} finally { lock.unlock(); } } ProgressLogger logger = progressLoggerFactory.newOperation(SynchronizedToolingImplementationLoader.class); logger.setDescription("Wait for the other thread to finish acquiring the distribution"); logger.started(); lock.lock(); try {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 2.8K bytes - Viewed (0) -
platforms/ide/tooling-api/src/test/groovy/org/gradle/tooling/internal/consumer/loader/SynchronizedToolingImplementationLoaderTest.groovy
1 * target.create(distro, factory, _ as InternalBuildProgressListener, params, cancellationToken) >> { instant.created Stub(ConsumerConnection) } and: 1 * factory.newOperation(_ as Class) >> logger 1 * logger.setDescription(_ as String) 1 * logger.started() 1 * logger.completed() 0 * _ } def "does not report progress when appropriate"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 2.9K bytes - Viewed (0)