public enum SelftestMessage extends Enum<SelftestMessage> implements Message
| Enum Constant and Description |
|---|
FINISHED |
GET_TESTSGROUPS |
RESULT |
RUN_TESTS |
| Modifier and Type | Method and Description |
|---|---|
static SelftestMessage |
get(int id) |
int |
getID()
Get command id to execute on host, service definitions are available on Scope Interface
|
String |
getServiceName()
Associates a command id with a service name
|
static SelftestMessage |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SelftestMessage[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SelftestMessage RUN_TESTS
public static final SelftestMessage GET_TESTSGROUPS
public static final SelftestMessage FINISHED
public static final SelftestMessage RESULT
public static SelftestMessage[] values()
for (SelftestMessage c : SelftestMessage.values()) System.out.println(c);
public static SelftestMessage 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()
Messagepublic String getServiceName()
MessagegetServiceName in interface Messagepublic static SelftestMessage get(int id)
Copyright © 2013. All Rights Reserved.