public static enum OptionalThreadContext.AlreadyInTransactionBehavior extends Enum<OptionalThreadContext.AlreadyInTransactionBehavior>
Enum Constant and Description |
---|
CAPTURE_NEW_TRANSACTION |
CAPTURE_TRACE_ENTRY |
Modifier and Type | Method and Description |
---|---|
static OptionalThreadContext.AlreadyInTransactionBehavior |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OptionalThreadContext.AlreadyInTransactionBehavior[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OptionalThreadContext.AlreadyInTransactionBehavior CAPTURE_NEW_TRANSACTION
public static final OptionalThreadContext.AlreadyInTransactionBehavior CAPTURE_TRACE_ENTRY
public static OptionalThreadContext.AlreadyInTransactionBehavior 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 nullpublic static OptionalThreadContext.AlreadyInTransactionBehavior[] values()
for (OptionalThreadContext.AlreadyInTransactionBehavior c : OptionalThreadContext.AlreadyInTransactionBehavior.values()) System.out.println(c);
Copyright © 2011–2018 Glowroot contributors. All rights reserved.