public static enum MainClassFinder.Result.Type extends java.lang.Enum<MainClassFinder.Result.Type>
Enum Constant and Description |
---|
MAIN_CLASS_FOUND |
MAIN_CLASS_NOT_FOUND |
MULTIPLE_MAIN_CLASSES |
Modifier and Type | Method and Description |
---|---|
static MainClassFinder.Result.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MainClassFinder.Result.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MainClassFinder.Result.Type MAIN_CLASS_FOUND
public static final MainClassFinder.Result.Type MAIN_CLASS_NOT_FOUND
public static final MainClassFinder.Result.Type MULTIPLE_MAIN_CLASSES
public static MainClassFinder.Result.Type[] values()
for (MainClassFinder.Result.Type c : MainClassFinder.Result.Type.values()) System.out.println(c);
public static MainClassFinder.Result.Type 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 namejava.lang.NullPointerException
- if the argument is null