public static enum ThreadService.Event.Type extends java.lang.Enum<ThreadService.Event.Type>
| Modifier and Type | Method and Description |
|---|---|
static ThreadService.Event.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ThreadService.Event.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ThreadService.Event.Type KILL
public static final ThreadService.Event.Type RAISE
public static final ThreadService.Event.Type WAKEUP
public static ThreadService.Event.Type[] values()
for (ThreadService.Event.Type c : ThreadService.Event.Type.values()) System.out.println(c);
public static ThreadService.Event.Type 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 namejava.lang.NullPointerException - if the argument is nullCopyright © 2002-2009 JRuby Team. All Rights Reserved.