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

public static enum IndexDirectoryFactory.Name extends Enum<IndexDirectoryFactory.Name>
  • Enum Constant Details

  • Method Details

    • values

      public static IndexDirectoryFactory.Name[] 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

      public static IndexDirectoryFactory.Name valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getEntityIdFieldName

      public String getEntityIdFieldName()
    • getEntityVersionFieldName

      public String getEntityVersionFieldName()
    • getParentEntityIdFieldName

      public Optional<String> getParentEntityIdFieldName()
    • getEntityIdFromDocument

      public Optional<String> getEntityIdFromDocument(org.apache.lucene.document.Document document)
    • getEntityIdFromDocumentOrThrow

      public String getEntityIdFromDocumentOrThrow(org.apache.lucene.document.Document document)
    • getEntityVersionFromDocument

      public Optional<Long> getEntityVersionFromDocument(org.apache.lucene.document.Document document)
    • getEntityVersionFromDocumentOrThrow

      public Long getEntityVersionFromDocumentOrThrow(org.apache.lucene.document.Document document)
    • getParentEntityIdFromDocument

      public Optional<String> getParentEntityIdFromDocument(org.apache.lucene.document.Document document)
    • toAffectedIndex

      public AffectedIndex toAffectedIndex()
    • from

      public static IndexDirectoryFactory.Name from(AffectedIndex affectedIndex)
    • fromSafe

      public static Optional<IndexDirectoryFactory.Name> fromSafe(AffectedIndex affectedIndex)