Enum SplitIndexPhase

  • All Implemented Interfaces:
    Serializable, Comparable<SplitIndexPhase>

    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
    • Method Detail

      • values

        public static SplitIndexPhase[] 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 (SplitIndexPhase c : SplitIndexPhase.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static SplitIndexPhase 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 name
        NullPointerException - if the argument is null
      • getId

        public String getId()
      • getDescription

        public String getDescription()