|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<CommentRetriever.Option>
ua.in.hutorny.util.CommentRetriever.Option
public static enum CommentRetriever.Option
A set of options to opt CommentRetriever behavior - (
THROWERRORS,
RETURNERRORS,
VOIDERRORS,
BLANKISERROR,
NODEFAULTS,
TRIMRESULT )
| Enum Constant Summary | |
|---|---|
BLANKISERROR
Treat null and blank output as an error and handle them accordingly |
|
NODEFAULTS
Do not return a default section if the discriminator is not found |
|
RETURNERRORS
Return error message as the output value |
|
THROWERRORS
Throw exception when an error occurs |
|
TRIMRESULT
Trim output value prior to returning |
|
VOIDERRORS
Return a preset string when an error occurs |
|
| Method Summary | |
|---|---|
int |
value()
|
static CommentRetriever.Option |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static CommentRetriever.Option[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
| Methods inherited from class java.lang.Enum |
|---|
compareTo, equals, 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 CommentRetriever.Option THROWERRORS
public static final CommentRetriever.Option RETURNERRORS
public static final CommentRetriever.Option VOIDERRORS
public static final CommentRetriever.Option BLANKISERROR
public static final CommentRetriever.Option NODEFAULTS
public static final CommentRetriever.Option TRIMRESULT
| Method Detail |
|---|
public static final CommentRetriever.Option[] values()
for(CommentRetriever.Option c : CommentRetriever.Option.values())
System.out.println(c);
public static CommentRetriever.Option valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified namepublic int value()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||