Enum SearchServiceController.Verb
- java.lang.Object
-
- java.lang.Enum<SearchServiceController.Verb>
-
- edu.cornell.mannlib.vitro.webapp.search.controller.SearchServiceController.Verb
-
- All Implemented Interfaces:
Serializable,Comparable<SearchServiceController.Verb>
- Enclosing class:
- SearchServiceController
public static enum SearchServiceController.Verb extends Enum<SearchServiceController.Verb>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description UPDATE_URIS_IN_SEARCHVIEW_HELP_FORM
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SearchServiceController.VerbvalueOf(String name)Returns the enum constant of this type with the specified name.static SearchServiceController.Verb[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
VIEW_HELP_FORM
public static final SearchServiceController.Verb VIEW_HELP_FORM
-
UPDATE_URIS_IN_SEARCH
public static final SearchServiceController.Verb UPDATE_URIS_IN_SEARCH
-
-
Field Detail
-
verb
public final String verb
-
-
Method Detail
-
values
public static SearchServiceController.Verb[] 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 (SearchServiceController.Verb c : SearchServiceController.Verb.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SearchServiceController.Verb 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
-
-