Class EventLogWatcher
- java.lang.Object
-
- com.pulumi.automation.events.internal.EventLogWatcher
-
- All Implemented Interfaces:
java.lang.AutoCloseable
@InternalUse public final class EventLogWatcher extends java.lang.Object implements java.lang.AutoCloseable
Watches a Pulumi engine log file for events and invokes a callback for each event.
-
-
Constructor Summary
Constructors Constructor Description EventLogWatcher(java.nio.file.Path logFile, java.util.function.Consumer<EngineEvent> onEvent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
-
-
-
Constructor Detail
-
EventLogWatcher
public EventLogWatcher(java.nio.file.Path logFile, java.util.function.Consumer<EngineEvent> onEvent)
-
-