public enum SearchState extends java.lang.Enum<SearchState>
Enum Constant and Description |
---|
BLANK
Search object has been initialized but not started.
|
CANCELLED
Search got cancelled either by user decision or by
errors.
|
DONE
Search performed without interruptions.
|
RUNNING
Search has been started.
|
Modifier and Type | Method and Description |
---|---|
static SearchState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SearchState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SearchState BLANK
public static final SearchState RUNNING
public static final SearchState DONE
public static final SearchState CANCELLED
public static SearchState[] values()
for (SearchState c : SearchState.values()) System.out.println(c);
public static SearchState 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