public static enum Link.LinkStatus extends Enum<Link.LinkStatus>
Enum Constant and Description |
---|
BROKEN
Broken link
|
NEW
New link
|
NORMAL
Normal link
|
Modifier and Type | Method and Description |
---|---|
static Link.LinkStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Link.LinkStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Link.LinkStatus NORMAL
public static final Link.LinkStatus NEW
public static final Link.LinkStatus BROKEN
public static Link.LinkStatus[] values()
for (Link.LinkStatus c : Link.LinkStatus.values()) System.out.println(c);
public static Link.LinkStatus valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null