Enum SearchIndexer.Event.Type
- java.lang.Object
-
- java.lang.Enum<SearchIndexer.Event.Type>
-
- edu.cornell.mannlib.vitro.webapp.modules.searchIndexer.SearchIndexer.Event.Type
-
- All Implemented Interfaces:
Serializable,Comparable<SearchIndexer.Event.Type>
- Enclosing class:
- SearchIndexer.Event
public static enum SearchIndexer.Event.Type extends Enum<SearchIndexer.Event.Type>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description PAUSEPROGRESSREBUILD_REQUESTEDSHUTDOWN_COMPLETESHUTDOWN_REQUESTEDSTART_REBUILDSTART_STATEMENTSSTART_URISSTARTUPSTOP_REBUILDSTOP_STATEMENTSSTOP_URISUNPAUSE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SearchIndexer.Event.TypevalueOf(String name)Returns the enum constant of this type with the specified name.static SearchIndexer.Event.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STARTUP
public static final SearchIndexer.Event.Type STARTUP
-
PROGRESS
public static final SearchIndexer.Event.Type PROGRESS
-
PAUSE
public static final SearchIndexer.Event.Type PAUSE
-
UNPAUSE
public static final SearchIndexer.Event.Type UNPAUSE
-
START_URIS
public static final SearchIndexer.Event.Type START_URIS
-
STOP_URIS
public static final SearchIndexer.Event.Type STOP_URIS
-
START_STATEMENTS
public static final SearchIndexer.Event.Type START_STATEMENTS
-
STOP_STATEMENTS
public static final SearchIndexer.Event.Type STOP_STATEMENTS
-
START_REBUILD
public static final SearchIndexer.Event.Type START_REBUILD
-
STOP_REBUILD
public static final SearchIndexer.Event.Type STOP_REBUILD
-
REBUILD_REQUESTED
public static final SearchIndexer.Event.Type REBUILD_REQUESTED
-
SHUTDOWN_REQUESTED
public static final SearchIndexer.Event.Type SHUTDOWN_REQUESTED
-
SHUTDOWN_COMPLETE
public static final SearchIndexer.Event.Type SHUTDOWN_COMPLETE
-
-
Method Detail
-
values
public static SearchIndexer.Event.Type[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SearchIndexer.Event.Type c : SearchIndexer.Event.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SearchIndexer.Event.Type valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-