Enum RestMessages
- java.lang.Object
-
- java.lang.Enum<RestMessages>
-
- org.opendaylight.neutron.northbound.api.RestMessages
-
- All Implemented Interfaces:
Serializable
,Comparable<RestMessages>
public enum RestMessages extends Enum<RestMessages>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AVAILABLESOON
DEFAULTDISABLED
INTERNALERROR
INVALIDADDRESS
INVALIDDATA
INVALIDJSON
NOCONTAINER
NODEFAULT
NOFLOW
NOHOST
NONODE
NOPOLICY
NORESOURCE
NOSTATICROUTE
NOSUBNET
NOTALLOWEDONDEFAULT
RESOURCECONFLICT
SERVICEUNAVAILABLE
SUCCESS
UNKNOWNACTION
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
toString()
static RestMessages
valueOf(String name)
Returns the enum constant of this type with the specified name.static RestMessages[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SUCCESS
public static final RestMessages SUCCESS
-
NOCONTAINER
public static final RestMessages NOCONTAINER
-
NOSUBNET
public static final RestMessages NOSUBNET
-
NOSTATICROUTE
public static final RestMessages NOSTATICROUTE
-
NOHOST
public static final RestMessages NOHOST
-
NOFLOW
public static final RestMessages NOFLOW
-
NONODE
public static final RestMessages NONODE
-
NOPOLICY
public static final RestMessages NOPOLICY
-
NORESOURCE
public static final RestMessages NORESOURCE
-
RESOURCECONFLICT
public static final RestMessages RESOURCECONFLICT
-
NODEFAULT
public static final RestMessages NODEFAULT
-
DEFAULTDISABLED
public static final RestMessages DEFAULTDISABLED
-
NOTALLOWEDONDEFAULT
public static final RestMessages NOTALLOWEDONDEFAULT
-
UNKNOWNACTION
public static final RestMessages UNKNOWNACTION
-
INVALIDJSON
public static final RestMessages INVALIDJSON
-
INVALIDADDRESS
public static final RestMessages INVALIDADDRESS
-
AVAILABLESOON
public static final RestMessages AVAILABLESOON
-
INTERNALERROR
public static final RestMessages INTERNALERROR
-
SERVICEUNAVAILABLE
public static final RestMessages SERVICEUNAVAILABLE
-
INVALIDDATA
public static final RestMessages INVALIDDATA
-
-
Method Detail
-
values
public static RestMessages[] 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 (RestMessages c : RestMessages.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RestMessages 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 nameNullPointerException
- if the argument is null
-
toString
public String toString()
- Overrides:
toString
in classEnum<RestMessages>
-
-