|
JBoss Logging I18n Annotation Processor 1.0.3.Final-redhat-2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Parameter.ParameterType>
org.jboss.logging.processor.intf.model.Parameter.ParameterType
public static enum Parameter.ParameterType
The types of parameters.
Enum Constant Summary | |
---|---|
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. |
|
PROPERTY
Indicates the parameter is a property and should be set via its setter in the throwable
return type. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
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.
Method Detail |
---|
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 name
NullPointerException
- if the argument is null
|
JBoss Logging I18n Annotation Processor 1.0.3.Final-redhat-2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |