public enum ManagerStatus extends Enum<ManagerStatus>
Modifier and Type | Method and Description |
---|---|
int |
getCode() |
String |
getMessage() |
void |
setCode(int code) |
void |
setMessage(String message) |
static String |
valueOf(Integer value) |
static ManagerStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ManagerStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ManagerStatus OK
public static final ManagerStatus FREEZED
public static final ManagerStatus DELETED
public static ManagerStatus[] values()
for (ManagerStatus c : ManagerStatus.values()) System.out.println(c);
public static ManagerStatus 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 getCode()
public void setCode(int code)
public String getMessage()
public void setMessage(String message)
Copyright © 2018. All rights reserved.