Enum SearchService.PAGE_TYPE
- java.lang.Object
-
- java.lang.Enum<SearchService.PAGE_TYPE>
-
- nl.gx.webmanager.services.contentindex.search.SearchService.PAGE_TYPE
-
- All Implemented Interfaces:
Serializable
,Comparable<SearchService.PAGE_TYPE>
- Enclosing interface:
- SearchService
public static enum SearchService.PAGE_TYPE extends Enum<SearchService.PAGE_TYPE>
Page type, one of PAGE or BLOCK.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SearchService.PAGE_TYPE
valueOf(String name)
Returns the enum constant of this type with the specified name.static SearchService.PAGE_TYPE[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BLOCK
public static final SearchService.PAGE_TYPE BLOCK
-
PAGE
public static final SearchService.PAGE_TYPE PAGE
-
-
Method Detail
-
values
public static SearchService.PAGE_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 (SearchService.PAGE_TYPE c : SearchService.PAGE_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 SearchService.PAGE_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
-
-