Enum Class ImportOutputMode

java.lang.Object
java.lang.Enum<ImportOutputMode>
com.illumon.iris.importers.ImportOutputMode
All Implemented Interfaces:
com.fishlib.base.log.LogOutputAppendable, Serializable, Comparable<ImportOutputMode>, java.lang.constant.Constable

public enum ImportOutputMode extends Enum<ImportOutputMode> implements com.fishlib.base.log.LogOutputAppendable
Mode for importers.
  • Enum Constant Details

    • SAFE

      public static final ImportOutputMode SAFE
      Only proceed if there is no existing data.
    • REPLACE

      public static final ImportOutputMode REPLACE
      Replace existing data, if found.
    • APPEND

      public static final ImportOutputMode APPEND
      Append to existing data, if found.
  • Method Details

    • values

      public static ImportOutputMode[] 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 ImportOutputMode 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
    • append

      public final com.fishlib.base.log.LogOutput append(@NotNull com.fishlib.base.log.LogOutput logOutput)
      Specified by:
      append in interface com.fishlib.base.log.LogOutputAppendable