public enum TracingPolicy extends Enum<TracingPolicy>
Enum Constant and Description |
---|
ALWAYS
Reuse an existing trace or create a new trace when no one exist.
|
IGNORE
Do not propagate a trace, this is equivalent of disabling tracing.
|
PROPAGATE
Propagate an existing trace.
|
Modifier and Type | Method and Description |
---|---|
static TracingPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TracingPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TracingPolicy IGNORE
public static final TracingPolicy PROPAGATE
public static final TracingPolicy ALWAYS
public static TracingPolicy[] values()
for (TracingPolicy c : TracingPolicy.values()) System.out.println(c);
public static TracingPolicy valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2022 Eclipse. All rights reserved.