Enum Class SplitIndexPhase

java.lang.Object
java.lang.Enum<SplitIndexPhase>
com.atlassian.confluence.upgrade.upgradetask.splitindex.SplitIndexPhase
All Implemented Interfaces:
Serializable, Comparable<SplitIndexPhase>, Constable

public enum SplitIndexPhase extends Enum<SplitIndexPhase>
Determines the phase we're in. The entire process is 1) create a /changes folder in the current index folder 2) copy all index files into that folder, leave directories behind 3) purge all content from the changes index 4) purge all changes from the content index 5) done or 6) aborted
Since:
7.9.0
  • Enum Constant Details

  • Method Details

    • values

      public static SplitIndexPhase[] 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 SplitIndexPhase 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
    • getId

      public String getId()
    • getDescription

      public String getDescription()
    • fromId

      public static SplitIndexPhase fromId(String id)
    • toString

      public String toString()
      Overrides:
      toString in class Enum<SplitIndexPhase>