Package com.atlassian.jira.issue.index
Enum Class IndexDirectoryFactory.Name
java.lang.Object
java.lang.Enum<IndexDirectoryFactory.Name>
com.atlassian.jira.issue.index.IndexDirectoryFactory.Name
- All Implemented Interfaces:
Serializable
,Comparable<IndexDirectoryFactory.Name>
,Constable
- Enclosing interface:
- IndexDirectoryFactory
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionChange history documents don't have their own versions - they share versions with the issue they refer to -
Method Summary
Modifier and TypeMethodDescriptionstatic IndexDirectoryFactory.Name
from
(AffectedIndex affectedIndex) static Optional<IndexDirectoryFactory.Name>
fromSafe
(AffectedIndex affectedIndex) getEntityIdFromDocument
(org.apache.lucene.document.Document document) getEntityIdFromDocumentOrThrow
(org.apache.lucene.document.Document document) getEntityVersionFromDocument
(org.apache.lucene.document.Document document) getEntityVersionFromDocumentOrThrow
(org.apache.lucene.document.Document document) getParentEntityIdFromDocument
(org.apache.lucene.document.Document document) static IndexDirectoryFactory.Name
Returns the enum constant of this class with the specified name.static IndexDirectoryFactory.Name[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
COMMENT
-
ISSUE
-
CHANGE_HISTORY
Change history documents don't have their own versions - they share versions with the issue they refer to -
WORKLOG
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
getEntityIdFieldName
-
getEntityVersionFieldName
-
getParentEntityIdFieldName
-
getEntityIdFromDocument
-
getEntityIdFromDocumentOrThrow
-
getEntityVersionFromDocument
-
getEntityVersionFromDocumentOrThrow
-
getParentEntityIdFromDocument
-
toAffectedIndex
-
from
-
fromSafe
-