Class LogWriterFactory
- java.lang.Object
-
- org.datadog.jenkins.plugins.datadog.logs.LogWriterFactory
-
public class LogWriterFactory extends Object
-
-
Constructor Summary
Constructors Constructor Description LogWriterFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AsyncWriter<net.sf.json.JSONObject>getLogWriter()static voidonDatadogClientUpdate(DatadogClient client)static voidstop()This method is called when the plugin is stopped.
-
-
-
Method Detail
-
onDatadogClientUpdate
public static void onDatadogClientUpdate(@Nullable DatadogClient client)
-
stop
@Terminator public static void stop() throws InterruptedException
This method is called when the plugin is stopped. If writer is initialized, it will be stopped synchronously.- Throws:
InterruptedException
-
getLogWriter
@Nullable public static AsyncWriter<net.sf.json.JSONObject> getLogWriter()
-
-