Enum Class Valid8JCliches

java.lang.Object
java.lang.Enum<Valid8JCliches>
jp.co.moneyforward.autotest.framework.utils.Valid8JCliches
All Implemented Interfaces:
Serializable, Comparable<Valid8JCliches>, Constable

public enum Valid8JCliches extends Enum<Valid8JCliches>

A container class for utility classes for valid8j usages.

This class may hold utility methods and various inner classes. They should be fed back to the valid8j community and once those are implemented as its out-of-box features, usages of them should be replaced with the new features in valid8j.

  • Method Details

    • values

      public static Valid8JCliches[] 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 Valid8JCliches 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
    • assumeStatement

      public static <T> void assumeStatement(com.github.valid8j.pcond.fluent.Statement<T> statement)
      This is a method to workaround issue: valid8j:issue-16 Once it is fixed, usages of this method should be replaced with Expectations.assumeStatement.
      Type Parameters:
      T - Type of the value
      Parameters:
      statement - A statement
    • mapToKeyList

      public static <K,V> Function<Map<K,V>,List<K>> mapToKeyList()