public final class TracingOption extends Object implements Appendable
Modifier and Type | Field and Description |
---|---|
static TracingOption |
DEBUG |
Constructor and Description |
---|
TracingOption(String option) |
TracingOption(String pluginId,
String option) |
Modifier and Type | Method and Description |
---|---|
Appendable |
append(char c) |
Appendable |
append(CharSequence csq) |
Appendable |
append(CharSequence csq,
int start,
int end) |
boolean |
isActive() |
static void |
println(Appendable appendable,
String string)
Helper routine to append string to an appendable without throwing an exception.
|
void |
println(Class<?> clazz,
String string) |
void |
println(String string) |
boolean |
resolveState() |
void |
setState(boolean state)
Set the state explicitly, typically for use in a standalone environment
such as a JUnit test that does not read the .options file.
|
public static final TracingOption DEBUG
public TracingOption(String option)
public static void println(Appendable appendable, String string)
appendable
- string
- public Appendable append(CharSequence csq)
append
in interface Appendable
public Appendable append(CharSequence csq, int start, int end)
append
in interface Appendable
public Appendable append(char c)
append
in interface Appendable
public boolean isActive()
public void println(String string)
public boolean resolveState()
public void setState(boolean state)
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.