|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<EventType>
org.tango.server.events.EventType
public enum EventType
Enum Constant Summary | |
---|---|
ARCHIVE_EVENT
Archived event. |
|
ATT_CONF_EVENT
Attribute configuration event. |
|
CHANGE_EVENT
Change event. |
|
DATA_READY_EVENT
Data ready event. |
|
INTERFACE_CHANGE_EVENT
Interface change event. |
|
PERIODIC_EVENT
Periodic event. |
|
PIPE_EVENT
Interface change event. |
|
USER_EVENT
User event. |
Method Summary | |
---|---|
static EventType |
getEvent(int eventValue)
Get an EventType from a String |
static EventType |
getEvent(java.lang.String string)
Get an EventType from a String |
java.lang.String |
getString()
|
int |
getValue()
|
static EventType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static EventType[] |
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 EventType CHANGE_EVENT
public static final EventType PERIODIC_EVENT
public static final EventType ARCHIVE_EVENT
public static final EventType USER_EVENT
public static final EventType ATT_CONF_EVENT
public static final EventType DATA_READY_EVENT
public static final EventType INTERFACE_CHANGE_EVENT
public static final EventType PIPE_EVENT
Method Detail |
---|
public static EventType[] values()
for (EventType c : EventType.values()) System.out.println(c);
public static EventType 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 nullpublic static EventType getEvent(java.lang.String string) throws fr.esrf.Tango.DevFailed
EventType
from a String
string
- the event type as a String
fr.esrf.Tango.DevFailed
- if event type does not existpublic static EventType getEvent(int eventValue) throws fr.esrf.Tango.DevFailed
EventType
from a String
eventValue
- the event type as an int
fr.esrf.Tango.DevFailed
- if event type does not existpublic java.lang.String getString()
public int getValue()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |