public enum SearchStatus extends Enum<SearchStatus>
Enum Constant and Description |
---|
DISPOSED
Search has been disposed and may not be (re)started.
|
IDLE
Search is idle and may be (re)started.
|
INITIALIZING
Search is initializing its current run.
|
RUNNING
Search is actively running.
|
TERMINATING
Search is terminating its current run.
|
Modifier and Type | Method and Description |
---|---|
static SearchStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SearchStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SearchStatus IDLE
public static final SearchStatus INITIALIZING
public static final SearchStatus RUNNING
public static final SearchStatus TERMINATING
public static final SearchStatus DISPOSED
public static SearchStatus[] values()
for (SearchStatus c : SearchStatus.values()) System.out.println(c);
public static SearchStatus 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 nullCopyright © 2016. All rights reserved.