Enum Class SeedMode

java.lang.Object
java.lang.Enum<SeedMode>
com.axelor.ai.seed.SeedMode
All Implemented Interfaces:
Serializable, Comparable<SeedMode>, Constable

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

    • SEED_ONCE

      public static final SeedMode SEED_ONCE
      Insert only if never seeded before (durable via AiSeed marker).
    • OVERWRITE

      public static final SeedMode OVERWRITE
      Recreate from the source, replacing any existing record.
  • Method Details

    • values

      public static SeedMode[] 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 SeedMode 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