public enum CambriaOperationStatus extends Enum<CambriaOperationStatus>
Enum Constant and Description |
---|
AUTHENTICATION_ERROR |
CONNNECTION_ERROR |
INTERNAL_SERVER_ERROR |
NOT_FOUND |
OBJECT_NOT_FOUND |
OK |
TOPIC_ALREADY_EXIST |
UNKNOWN_HOST_ERROR |
Modifier and Type | Method and Description |
---|---|
static CambriaOperationStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CambriaOperationStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CambriaOperationStatus OK
public static final CambriaOperationStatus CONNNECTION_ERROR
public static final CambriaOperationStatus NOT_FOUND
public static final CambriaOperationStatus TOPIC_ALREADY_EXIST
public static final CambriaOperationStatus OBJECT_NOT_FOUND
public static final CambriaOperationStatus INTERNAL_SERVER_ERROR
public static final CambriaOperationStatus AUTHENTICATION_ERROR
public static final CambriaOperationStatus UNKNOWN_HOST_ERROR
public static CambriaOperationStatus[] values()
for (CambriaOperationStatus c : CambriaOperationStatus.values()) System.out.println(c);
public static CambriaOperationStatus 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 nullCopyright © 2017. All rights reserved.