public class NotificationContext extends Object
| Constructor and Description |
|---|
NotificationContext(PrintStream logger,
String runId) |
| Modifier and Type | Method and Description |
|---|---|
PrintStream |
getLogger()
Anything logged here will show up in the running build's console log.
|
String |
getRunId()
This is the
Run.getExternalizableId() from the running build,
useful for detailed server-side logging (such as through slf4j). |
public NotificationContext(PrintStream logger, String runId)
public PrintStream getLogger()
public String getRunId()
Run.getExternalizableId() from the running build,
useful for detailed server-side logging (such as through slf4j).Copyright © 2016–2021. All rights reserved.