Enum IndexTaskType
- java.lang.Object
-
- java.lang.Enum<IndexTaskType>
-
- com.atlassian.confluence.plugins.edgeindex.IndexTaskType
-
- All Implemented Interfaces:
Serializable
,Comparable<IndexTaskType>
public enum IndexTaskType extends Enum<IndexTaskType>
Enumeration of index task types.- Since:
- 5.6
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADD_DOCUMENT
DELETE_DOCUMENT
DELETE_EDGE_BY_TARGET_ID_AND_USER
DELETE_EDGE_TARGETING_DOCUMENT
REINDEX_PERMISSIONS
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IndexTaskType
valueOf(String name)
Returns the enum constant of this type with the specified name.static IndexTaskType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ADD_DOCUMENT
public static final IndexTaskType ADD_DOCUMENT
-
DELETE_DOCUMENT
public static final IndexTaskType DELETE_DOCUMENT
-
DELETE_EDGE_BY_TARGET_ID_AND_USER
public static final IndexTaskType DELETE_EDGE_BY_TARGET_ID_AND_USER
-
DELETE_EDGE_TARGETING_DOCUMENT
public static final IndexTaskType DELETE_EDGE_TARGETING_DOCUMENT
-
REINDEX_PERMISSIONS
public static final IndexTaskType REINDEX_PERMISSIONS
-
-
Method Detail
-
values
public static IndexTaskType[] 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 (IndexTaskType c : IndexTaskType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static IndexTaskType 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
-
-