Enum Class ValidationPolicy

java.lang.Object
java.lang.Enum<ValidationPolicy>
org.monarchinitiative.lirical.cli.cmd.ValidationPolicy
All Implemented Interfaces:
Serializable, Comparable<ValidationPolicy>, Constable

public enum ValidationPolicy extends Enum<ValidationPolicy>
What to do in case of errors or imperfections in the input data.
  • Enum Constant Details

    • STRICT

      public static final ValidationPolicy STRICT
      Only run the analysis if no errors or warnings are found.
    • LENIENT

      public static final ValidationPolicy LENIENT
      Run the analysis if the user input contains non-controversial issues that can be fixed automatically.
    • MINIMAL

      public static final ValidationPolicy MINIMAL
      Run the bare minimum of checks required to run the analysis but not even a bit more.
  • Method Details

    • values

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