public static enum ControllerRequest.RequestCode extends Enum<ControllerRequest.RequestCode>
Enum Constant and Description |
---|
REQUESTCODE_CLEAR |
REQUESTCODE_DISPOSE |
REQUESTCODE_PING |
REQUESTCODE_RECONFIGURE |
REQUESTCODE_RELOADITEM |
REQUESTCODE_RESTART |
REQUESTCODE_RESUME |
REQUESTCODE_START |
REQUESTCODE_STARTNEW |
REQUESTCODE_STOP |
REQUESTCODE_SUSPEND |
Modifier and Type | Method and Description |
---|---|
String |
getRequestCodeName() |
int |
getRequestCodeNumber() |
static ControllerRequest.RequestCode |
lookup(int num) |
static ControllerRequest.RequestCode |
lookup(String name) |
static String |
lookupName(int code) |
static Integer |
lookupNumber(String name) |
static ControllerRequest.RequestCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ControllerRequest.RequestCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ControllerRequest.RequestCode REQUESTCODE_CLEAR
public static final ControllerRequest.RequestCode REQUESTCODE_STARTNEW
public static final ControllerRequest.RequestCode REQUESTCODE_START
public static final ControllerRequest.RequestCode REQUESTCODE_STOP
public static final ControllerRequest.RequestCode REQUESTCODE_RESTART
public static final ControllerRequest.RequestCode REQUESTCODE_SUSPEND
public static final ControllerRequest.RequestCode REQUESTCODE_RESUME
public static final ControllerRequest.RequestCode REQUESTCODE_RECONFIGURE
public static final ControllerRequest.RequestCode REQUESTCODE_PING
public static final ControllerRequest.RequestCode REQUESTCODE_DISPOSE
public static final ControllerRequest.RequestCode REQUESTCODE_RELOADITEM
public static ControllerRequest.RequestCode[] values()
for (ControllerRequest.RequestCode c : ControllerRequest.RequestCode.values()) System.out.println(c);
public static ControllerRequest.RequestCode 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 getRequestCodeNumber()
public String getRequestCodeName()
public static final ControllerRequest.RequestCode lookup(int num)
public static final ControllerRequest.RequestCode lookup(String name)
public static final String lookupName(int code)
Copyright © 2023. All rights reserved.