Enum SearchContext.RouterParams
- java.lang.Object
-
- java.lang.Enum<SearchContext.RouterParams>
-
- org.exoplatform.commons.api.search.data.SearchContext.RouterParams
-
- All Implemented Interfaces:
Serializable,Comparable<SearchContext.RouterParams>
- Enclosing class:
- SearchContext
public static enum SearchContext.RouterParams extends Enum<SearchContext.RouterParams>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.exoplatform.web.controller.QualifiedNamecreate()Create qualified namestatic SearchContext.RouterParamsvalueOf(String name)Returns the enum constant of this type with the specified name.static SearchContext.RouterParams[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SITE_TYPE
public static final SearchContext.RouterParams SITE_TYPE
-
SITE_NAME
public static final SearchContext.RouterParams SITE_NAME
-
HANDLER
public static final SearchContext.RouterParams HANDLER
-
PATH
public static final SearchContext.RouterParams PATH
-
LANG
public static final SearchContext.RouterParams LANG
-
-
Method Detail
-
values
public static SearchContext.RouterParams[] 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 (SearchContext.RouterParams c : SearchContext.RouterParams.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SearchContext.RouterParams 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
-
create
public org.exoplatform.web.controller.QualifiedName create()
Create qualified name- Returns:
- QualifiedName
- eXo level API
- Experimental, Experimental
-
-