Enum Class SwiftMigrationMode

java.lang.Object
java.lang.Enum<SwiftMigrationMode>
fr.gouv.vitam.storage.offers.migration.SwiftMigrationMode
All Implemented Interfaces:
Serializable, Comparable<SwiftMigrationMode>, Constable

public enum SwiftMigrationMode extends Enum<SwiftMigrationMode>
  • Enum Constant Details

    • MODE_0_ANALYSIS_ONLY

      public static final SwiftMigrationMode MODE_0_ANALYSIS_ONLY
    • MODE_1_FIX_INCONSISTENCIES

      public static final SwiftMigrationMode MODE_1_FIX_INCONSISTENCIES
    • MODE_2_FIX_INCONSISTENCIES_AND_PURGE_DELETED

      public static final SwiftMigrationMode MODE_2_FIX_INCONSISTENCIES_AND_PURGE_DELETED
  • Method Details

    • values

      public static SwiftMigrationMode[] 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 SwiftMigrationMode 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
    • isFixInconsistencies

      public boolean isFixInconsistencies()
    • isDeleteOrphanSegments

      public boolean isDeleteOrphanSegments()
    • toString

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