Enum NotesMigrationState

  • All Implemented Interfaces:
    Serializable, Comparable<NotesMigrationState>

    public enum NotesMigrationState
    extends Enum<NotesMigrationState>
    Possible high-level states of the NoteDb migration for changes.

    This class describes the series of states required to migrate a site from ReviewDb-only to NoteDb-only. This process has several steps, and covers only a small subset of the theoretically possible combinations of NotesMigration return values.

    These states are ordered: a one-way migration from ReviewDb to NoteDb will pass through states in the order in which they are defined.

    • Method Detail

      • values

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

        public static NotesMigrationState 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
      • setConfigValues

        public void setConfigValues​(org.eclipse.jgit.lib.Config cfg)
      • toText

        public String toText()