public enum LinkValidity extends java.lang.Enum<LinkValidity>
LinkValidity
defines the state of a link in respect to its
validity.Enum Constant and Description |
---|
EXPIRED
internal link has expired (i.e.
|
INVALID
internal or external link is invalid
|
PENDING
external link is pending (not (re)checked yet)
|
PREDATED
internal link is predated (i.e.
|
VALID
internal or external link is valid
|
Modifier and Type | Method and Description |
---|---|
static LinkValidity |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LinkValidity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LinkValidity VALID
public static final LinkValidity INVALID
public static final LinkValidity EXPIRED
public static final LinkValidity PREDATED
public static final LinkValidity PENDING
public static LinkValidity[] values()
for (LinkValidity c : LinkValidity.values()) System.out.println(c);
public static LinkValidity valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullCopyright © 2010 - 2020 Adobe. All Rights Reserved