Enum SiteTextSearchQuery.Boost
- java.lang.Object
-
- java.lang.Enum<SiteTextSearchQuery.Boost>
-
- com.atlassian.confluence.search.v2.query.SiteTextSearchQuery.Boost
-
- All Implemented Interfaces:
Serializable
,Comparable<SiteTextSearchQuery.Boost>
- Enclosing class:
- SiteTextSearchQuery
public static enum SiteTextSearchQuery.Boost extends Enum<SiteTextSearchQuery.Boost>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SiteTextSearchQuery.Boost
valueOf(String name)
Returns the enum constant of this type with the specified name.static SiteTextSearchQuery.Boost[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BOOST
public static final SiteTextSearchQuery.Boost BOOST
-
NO_BOOST
public static final SiteTextSearchQuery.Boost NO_BOOST
-
-
Method Detail
-
values
public static SiteTextSearchQuery.Boost[] 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 (SiteTextSearchQuery.Boost c : SiteTextSearchQuery.Boost.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SiteTextSearchQuery.Boost 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
-
-