|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<ExceptionContextProperty> de.smartics.exceptions.context.ExceptionContextProperty
public enum ExceptionContextProperty
Provides properties for the configuration of an exception context.
Enum Constant Summary | |
---|---|
EXCEPTION_THROWABLE_HANDLE_MODE The identifier to select the mode how exceptions are handled for truncation. |
|
ID_FACTORY_CLASS The fully qualified class name of an implementation of IdFactory . |
Method Summary | |
---|---|
Object |
getDefaultValue() Returns the default value to use if a given property is not specified. |
String |
getName() Returns the property name. |
Class<?> |
getType() |
de.smartics.properties.core.PropertyValueRange<?> |
getValueRange() |
boolean |
isMandatory() |
String |
toString() Returns the string representation of the object. |
static ExceptionContextProperty |
valueOf(String name) Returns the enum constant of this type with the specified name. |
static ExceptionContextProperty[] |
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, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final ExceptionContextProperty ID_FACTORY_CLASS
IdFactory
.
The value of this constant is id.factory.class
.
public static final ExceptionContextProperty EXCEPTION_THROWABLE_HANDLE_MODE
ThrowableHandleMode
.
The value of this constant is exception.throwableHandleMode
.
Method Detail |
---|
public static ExceptionContextProperty[] values()
for (ExceptionContextProperty c : ExceptionContextProperty.values()) System.out.println(c);
public static ExceptionContextProperty 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
public String getName()
getName
in interface
de.smartics.properties.core.PropertyEnumeration
public Class<?> getType()
getType
in interface
de.smartics.properties.core.PropertyEnumeration
PropertyEnumeration.getType()
public boolean isMandatory()
isMandatory
in interface
de.smartics.properties.core.PropertyEnumeration
PropertyEnumeration.isMandatory()
public Object getDefaultValue()
null
if no default value is provided.
getDefaultValue
in interface
de.smartics.properties.core.PropertyEnumeration
public de.smartics.properties.core.PropertyValueRange<?> getValueRange()
getValueRange
in interface
de.smartics.properties.core.PropertyEnumeration
PropertyEnumeration.getValueRange()
public String toString()
toString
in class
Enum<ExceptionContextProperty>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |