|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<Service.Result> i3.dragos.core.Service.Result
public static enum Service.Result
Starting, stopping etc. of services can be successful or not. The constants defined in this class define the outcome of the operation.
Enum Constant Summary | |
---|---|
BUSY
Operation couldn't be performed because the service is busy right now. |
|
FAILED
The operation has failed. |
|
INVALID
The operation is not valid. |
|
OK
Operation has been successful. |
Method Summary | |
---|---|
static Service.Result |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Service.Result[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Service.Result OK
public static final Service.Result BUSY
public static final Service.Result FAILED
public static final Service.Result INVALID
Method Detail |
---|
public static Service.Result[] values()
for (Service.Result c : Service.Result.values()) System.out.println(c);
public static Service.Result valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |