@Generated(value="org.jsonschema2pojo") public static enum LinkDetails.LinkStatus extends Enum<LinkDetails.LinkStatus>
Enum Constant and Description |
---|
ERROR |
EXCEPTION |
FORBIDDEN |
HTTP_ERROR_STATUS |
LOOP |
MALFORMED_URL |
NOT_FOUND |
REDIRECT_ERROR |
SUCCESS |
UNAUTHORIZED |
Modifier and Type | Method and Description |
---|---|
static LinkDetails.LinkStatus |
fromValue(String value) |
String |
toString() |
static LinkDetails.LinkStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LinkDetails.LinkStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LinkDetails.LinkStatus SUCCESS
public static final LinkDetails.LinkStatus ERROR
public static final LinkDetails.LinkStatus MALFORMED_URL
public static final LinkDetails.LinkStatus NOT_FOUND
public static final LinkDetails.LinkStatus FORBIDDEN
public static final LinkDetails.LinkStatus REDIRECT_ERROR
public static final LinkDetails.LinkStatus UNAUTHORIZED
public static final LinkDetails.LinkStatus LOOP
public static final LinkDetails.LinkStatus HTTP_ERROR_STATUS
public static final LinkDetails.LinkStatus EXCEPTION
public static LinkDetails.LinkStatus[] values()
for (LinkDetails.LinkStatus c : LinkDetails.LinkStatus.values()) System.out.println(c);
public static LinkDetails.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 nullpublic String toString()
toString
in class Enum<LinkDetails.LinkStatus>
public static LinkDetails.LinkStatus fromValue(String value)
Copyright © 2017 The Apache Software Foundation. All rights reserved.