Enum Class WriteMode

java.lang.Object
java.lang.Enum<WriteMode>
ch.nolix.baseapi.programcontrol.processproperty.WriteMode
All Implemented Interfaces:
Serializable, Comparable<WriteMode>, Constable

public enum WriteMode extends Enum<WriteMode>
A WriteMode defines the behavior when a target, that should be created, exists already.
Author:
Silvan Wyss
  • Enum Constant Details

    • THROW_EXCEPTION_WHEN_TARGET_EXISTS_ALREADY

      public static final WriteMode THROW_EXCEPTION_WHEN_TARGET_EXISTS_ALREADY
    • OVERWRITE_WHEN_TARGET_EXISTS_ALREADY

      public static final WriteMode OVERWRITE_WHEN_TARGET_EXISTS_ALREADY
    • SKIP_WHEN_TARGET_EXISTS_ALREADY

      public static final WriteMode SKIP_WHEN_TARGET_EXISTS_ALREADY
  • Method Details

    • values

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