Enum Class AddeEntry.EntryValidity

java.lang.Object
java.lang.Enum<AddeEntry.EntryValidity>
edu.wisc.ssec.mcidasv.servermanager.AddeEntry.EntryValidity
All Implemented Interfaces:
Serializable, Comparable<AddeEntry.EntryValidity>, Constable
Enclosing interface:
AddeEntry

Sort of a "misc" status field...
  • Enum Constant Details

    • VERIFIED

      public static final AddeEntry.EntryValidity VERIFIED
      Entry has been verified by connecting to the server.
    • UNVERIFIED

      public static final AddeEntry.EntryValidity UNVERIFIED
      Unknown whether or not this entry actually works.
    • VALIDATING

      public static final AddeEntry.EntryValidity VALIDATING
      Entry is being checked for validity.
    • DELETED

      public static final AddeEntry.EntryValidity DELETED
      User has elected to remove this entry. This is an unfortunate "special case", as we can't simply remove these entries from a list! Say the user import entries from a remote MCTABLE file and later deleted some of the imported entries. Fine, good! But what should happen if the user hears that new servers have been added to that same MCTABLE file? The entries that the user has deleted locally should not reappear, right?
    • INVALID

      public static final AddeEntry.EntryValidity INVALID
      Entry is invalid in some way.
  • Constructor Details

  • Method Details

    • values

      public static AddeEntry.EntryValidity[] 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 AddeEntry.EntryValidity 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
    • fromStr

      public static AddeEntry.EntryValidity fromStr(String str)
    • toStr

      public static String toStr(AddeEntry.EntryValidity validity)