|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<IndexStatus>
org.crosswire.jsword.index.IndexStatus
public enum IndexStatus
An Enumeration of the possible states of an index.
The GNU Lesser General Public License for details.
Enum Constant Summary | |
---|---|
CREATING
An index is currently being generated for this Book |
|
DONE
There is a complete and ready to use search index |
|
INVALID
An index is no longer valid and needs to be discarded. |
|
SCHEDULED
This Book has been scheduled for index creation |
|
UNDONE
There is no search index, and no plans to create one |
Field Summary | |
---|---|
private String |
name
The name of the IndexStatus |
Method Summary | |
---|---|
static IndexStatus |
fromString(String name)
Lookup method to convert from a String |
String |
toString()
|
static IndexStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static IndexStatus[] |
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, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final IndexStatus DONE
public static final IndexStatus UNDONE
public static final IndexStatus SCHEDULED
public static final IndexStatus CREATING
public static final IndexStatus INVALID
Field Detail |
---|
private String name
Method Detail |
---|
public static IndexStatus[] values()
for (IndexStatus c : IndexStatus.values()) System.out.println(c);
public static IndexStatus 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 nullpublic static IndexStatus fromString(String name)
name
-
public String toString()
toString
in class Enum<IndexStatus>
|
Copyright ยจ 2003-2015 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |