Enum Class FWCheckHelper.CHECK_LEVEL

java.lang.Object
java.lang.Enum<FWCheckHelper.CHECK_LEVEL>
net.simplace.sim.check.FWCheckHelper.CHECK_LEVEL
All Implemented Interfaces:
Serializable, Comparable<FWCheckHelper.CHECK_LEVEL>, Constable
Enclosing class:
FWCheckHelper

public static enum FWCheckHelper.CHECK_LEVEL extends Enum<FWCheckHelper.CHECK_LEVEL>
Check levels.
Author:
Andreas Enders
  • Enum Constant Details

    • CUSTOM

      public static final FWCheckHelper.CHECK_LEVEL CUSTOM
      A custom checker implemented overwriting the FWChecker
    • STRICT

      public static final FWCheckHelper.CHECK_LEVEL STRICT
      All checks are performed; a violation stops the simulation with an exception
    • INTENSE

      public static final FWCheckHelper.CHECK_LEVEL INTENSE
      All checks are performed; values outside the limits are replaced by the limit, violations are reported
    • LAZY

      public static final FWCheckHelper.CHECK_LEVEL LAZY
      Checks are performed and warnings given; the new value is written even if it was checked as bad
    • OFF

      public static final FWCheckHelper.CHECK_LEVEL OFF
      No checks are performed
    • ONLY

      public static final FWCheckHelper.CHECK_LEVEL ONLY
      Only the configuration is checked (resources, conditions); at most one simulation is run
  • Method Details

    • values

      public static FWCheckHelper.CHECK_LEVEL[] 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 FWCheckHelper.CHECK_LEVEL 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