Enum Class IasValidity

java.lang.Object
java.lang.Enum<IasValidity>
org.eso.ias.types.IasValidity
All Implemented Interfaces:
Serializable, Comparable<IasValidity>, Constable

public enum IasValidity extends Enum<IasValidity>
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    The value has been provided in time and the operator can trust what the IAS shows
    The values has not been produced in time either by the monitored system or due to network problems or any other reason: what the IAS hows can be misaligned with the actual information
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    final int
    The reliability factor gives a measure of how reliable is a validity.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the enum constant of this class with the specified name.
    static IasValidity[]
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • RELIABLE

      public static final IasValidity RELIABLE
      The value has been provided in time and the operator can trust what the IAS shows
    • UNRELIABLE

      public static final IasValidity UNRELIABLE
      The values has not been produced in time either by the monitored system or due to network problems or any other reason: what the IAS hows can be misaligned with the actual information
  • Field Details

    • reliabilityFactor

      public final int reliabilityFactor
      The reliability factor gives a measure of how reliable is a validity. The greater the reliablity factor, the better. Implementation note: having an integer here is not very useful with only 2 possible values for the IASValidity but it could be important in future if we wish to distinguish between more cases and it offers implicitly an order.
  • Method Details

    • values

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