public static class DebugContext.Builder extends Object
DebugContext.| Constructor and Description |
|---|
Builder(OptionValues options)
|
Builder(OptionValues options,
DebugHandlersFactory factory)
|
Builder(OptionValues options,
Iterable<DebugHandlersFactory> factories)
|
| Modifier and Type | Method and Description |
|---|---|
DebugContext |
build() |
DebugContext.Builder |
compilationListener(CompilationListener listener)
Sets the compilation listener for the debug context.
|
DebugContext.Builder |
description(DebugContext.Description desc)
Sets the description for the debug context.
|
DebugContext.Builder |
globalMetrics(GlobalMetrics metrics) |
DebugContext.Builder |
logStream(PrintStream stream) |
public Builder(OptionValues options)
public Builder(OptionValues options, Iterable<DebugHandlersFactory> factories)
DebugContext based on options and factories. The
DebugHandlersFactory.LOADER value can be used for the latter.public Builder(OptionValues options, DebugHandlersFactory factory)
DebugContext based options and factory. The latter
can be null in which case DebugContext.NO_CONFIG_CUSTOMIZERS is used.public DebugContext.Builder description(DebugContext.Description desc)
public DebugContext.Builder compilationListener(CompilationListener listener)
public DebugContext.Builder globalMetrics(GlobalMetrics metrics)
public DebugContext.Builder logStream(PrintStream stream)
public DebugContext build()