Enum Class Changes.OnNoChange

java.lang.Object
java.lang.Enum<Changes.OnNoChange>
org.springframework.modulith.junit.Changes.OnNoChange
All Implemented Interfaces:
Serializable, Comparable<Changes.OnNoChange>, Constable
Enclosing class:
Changes

static enum Changes.OnNoChange extends Enum<Changes.OnNoChange>
Whether to either execute or skip all test in case no changes where detected.
Since:
2.1
Author:
Valentin Bossi, Oliver Drotbohm
  • Enum Constant Details

  • Method Details

    • values

      public static Changes.OnNoChange[] 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 Changes.OnNoChange 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
    • fromConfig

      public static Changes.OnNoChange fromConfig(@Nullable String value)
      Creates a new Changes.OnNoChange from the given configuration value.
      Parameters:
      value - can be null
      Returns:
      will never be null.