public static enum Parameter.ParameterType extends Enum<Parameter.ParameterType>
Enum Constant and Description |
---|
ANY
Indicates the parameter can be any other type.
|
CAUSE
Indicates the parameter is a cause parameter and needs to be set in the
throwable return
type. |
CONSTRUCTION
Indicates the parameter should be used in the construction of a
throwable return type. |
FIELD
Indicates the parameter is a instance field that should be set in the
throwable return
type. |
FORMAT
Indicates the parameter should be used as a format parameter.
|
FQCN
Indicates the parameter should be used as the fully qualified class name for the logger.
|
MESSAGE
Indicates the parameter is the message.
|
POS
Indicates the parameter is a positional parameter.
|
PROPERTY
Indicates the parameter is a property and should be set via its setter in the
throwable
return type. |
TRANSFORM
Transforms the parameter using the
transform
type . |
Modifier and Type | Method and Description |
---|---|
static Parameter.ParameterType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Parameter.ParameterType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Parameter.ParameterType ANY
public static final Parameter.ParameterType CAUSE
throwable
return
type.public static final Parameter.ParameterType FORMAT
public static final Parameter.ParameterType FQCN
public static final Parameter.ParameterType MESSAGE
public static final Parameter.ParameterType CONSTRUCTION
throwable
return type.public static final Parameter.ParameterType FIELD
throwable
return
type.public static final Parameter.ParameterType PROPERTY
throwable
return type.public static final Parameter.ParameterType TRANSFORM
transform
type
.public static final Parameter.ParameterType POS
public static Parameter.ParameterType[] values()
for (Parameter.ParameterType c : Parameter.ParameterType.values()) System.out.println(c);
public static Parameter.ParameterType 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 JBoss by Red Hat. All rights reserved.