public enum RMDeleteContextCode extends Enum<RMDeleteContextCode> implements org.gcube.common.gxrest.response.outbound.ErrorCode
| Enum Constant and Description |
|---|
CONTEXT_DOES_NOT_EXIST |
CONTEXT_IS_NOT_EMPTY |
GENERIC_ERROR_FROM_RR |
| Modifier and Type | Method and Description |
|---|---|
int |
getId() |
String |
getMessage() |
static RMDeleteContextCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RMDeleteContextCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RMDeleteContextCode GENERIC_ERROR_FROM_RR
public static final RMDeleteContextCode CONTEXT_DOES_NOT_EXIST
public static final RMDeleteContextCode CONTEXT_IS_NOT_EMPTY
public static RMDeleteContextCode[] values()
for (RMDeleteContextCode c : RMDeleteContextCode.values()) System.out.println(c);
public static RMDeleteContextCode 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 int getId()
getId in interface org.gcube.common.gxrest.response.outbound.ErrorCodepublic String getMessage()
getMessage in interface org.gcube.common.gxrest.response.outbound.ErrorCodeCopyright © 2019. All Rights Reserved.