Enum LinkValidity

    • Enum Constant Detail

      • VALID

        public static final LinkValidity VALID
        internal or external link is valid
      • INVALID

        public static final LinkValidity INVALID
        internal or external link is invalid
      • EXPIRED

        public static final LinkValidity EXPIRED
        internal link has expired (i.e. offTime in past)
      • PREDATED

        public static final LinkValidity PREDATED
        internal link is predated (i.e. onTime in future)
      • PENDING

        public static final LinkValidity PENDING
        external link is pending (not (re)checked yet)
    • Method Detail

      • values

        public static LinkValidity[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (LinkValidity c : LinkValidity.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static LinkValidity valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
        NullPointerException - if the argument is null