public static enum ErrorTextProvider.EField extends Enum<ErrorTextProvider.EField> implements IHasID<String>
| Modifier and Type | Method and Description |
|---|---|
static ErrorTextProvider.EField |
getFromIDOrNull(String sID) |
String |
getID()
Get the unique ID of this object.
|
boolean |
isPlaceholderRequired() |
static ErrorTextProvider.EField |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ErrorTextProvider.EField[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfgetComparatorIDpublic static final ErrorTextProvider.EField CONSTANT
public static final ErrorTextProvider.EField ERROR_LEVEL
public static final ErrorTextProvider.EField ERROR_ID
public static final ErrorTextProvider.EField ERROR_FIELD_NAME
public static final ErrorTextProvider.EField ERROR_LOCATION
public static final ErrorTextProvider.EField ERROR_TEXT
public static final ErrorTextProvider.EField ERROR_LINKED_EXCEPTION_CLASS
public static final ErrorTextProvider.EField ERROR_LINKED_EXCEPTION_MESSAGE
public static final ErrorTextProvider.EField ERROR_LINKED_EXCEPTION_STACK_TRACE
public static final ErrorTextProvider.EField ERROR_LINKED_EXCEPTION_CAUSE_CLASS
public static final ErrorTextProvider.EField ERROR_LINKED_EXCEPTION_CAUSE_MESSAGE
public static final ErrorTextProvider.EField ERROR_LINKED_EXCEPTION_CAUSE_STACK_TRACE
public static ErrorTextProvider.EField[] values()
for (ErrorTextProvider.EField c : ErrorTextProvider.EField.values()) System.out.println(c);
public static ErrorTextProvider.EField 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 null@Nonnull @Nonempty public String getID()
IHasIDString than the
returned value must match an XML NMToken expression (so e.g. no ':' in the
ID)!public boolean isPlaceholderRequired()
@Nullable public static ErrorTextProvider.EField getFromIDOrNull(@Nullable String sID)
Copyright © 2014–2020 Philip Helger. All rights reserved.