|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<QueryState>
edu.utah.further.fqe.ds.api.domain.QueryState
public enum QueryState
Query context state. Each state implements its handling functions within the corresponding enumerated constant inner class.
-----------------------------------------------------------------------------------
(c) 2008-2011 FURTHeR Project, Health Sciences IT, University of Utah
Contact: Dr. Scott Narus <scott.narus@hsc.utah.edu>
Biomedical Informatics, 26 South 2000 East
Room 5775 HSEB, Salt Lake City, UT 84112
Day Phone: 1-801-213-3288
-----------------------------------------------------------------------------------
<oren.livne@utah.edu>
Enum Constant Summary | |
---|---|
COMPLETED
Query execution is complete. |
|
EXECUTING
The query is currently running. |
|
FAILED
Query execution failed. |
|
INVALID
A invalid state where the query cannot be considered for any of the other states. |
|
QUEUED
The query's context has been persisted to the database. |
|
STOPPED
Query execution is stopped. |
|
SUBMITTED
The query's context is created and transient. |
Method Summary | |
---|---|
static QueryState |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static QueryState[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Enum Constant Detail |
---|
public static final QueryState SUBMITTED
public static final QueryState QUEUED
public static final QueryState EXECUTING
public static final QueryState STOPPED
public static final QueryState COMPLETED
public static final QueryState FAILED
public static final QueryState INVALID
Method Detail |
---|
public static QueryState[] values()
for (QueryState c : QueryState.values()) System.out.println(c);
public static QueryState valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |