Class Index
- java.lang.Object
-
- com.atlassian.confluence.search.v2.Index
-
- All Implemented Interfaces:
Serializable
public final class Index extends Object implements Serializable
This class represents an index, which replaces the deprecatedSearchIndex
A developer can only define a new custom index viacustom(String)
method. A system index can be accessed via the public constant.- Since:
- 8.7.0
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Index.Type
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Index
custom(String name)
boolean
equals(Object o)
static List<Index>
from(EnumSet<SearchIndex> indexes)
String
getName()
Index.Type
getType()
int
hashCode()
static Index
system(String name)
String
toString()
-
-
-
Method Detail
-
getName
public String getName()
-
getType
public Index.Type getType()
-
system
public static Index system(String name)
- Parameters:
name
- the name of the system index- Returns:
- a system
Index
object
-
custom
public static Index custom(String name)
- Parameters:
name
- the name of the custom index- Returns:
- a custom
Index
object
-
from
public static List<Index> from(EnumSet<SearchIndex> indexes)
-
-