|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<NotificationType>
com.kuka.roboticsAPI.conditionModel.NotificationType
public enum NotificationType
This enum specifies the notification options of the ConditionObserver.
| Enum Constant Summary | |
|---|---|
All
Enables the options 'OnEnable' and 'MissedEvents'. |
|
EdgesOnly
The listener will only be notified about edges according to the listener type. |
|
MissedEvents
If events occur while the listener is still handling the previous event, it will be notified about the missed events as soon as the handling is done. |
|
OnEnable
The listener will only be notified about edges according to the listener type and also about the current state of the condition as the time when the conditionObserver is enabled. |
|
| Method Summary | |
|---|---|
int |
toInt()
Gets the internal value for the specific component. |
static NotificationType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static NotificationType[] |
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 NotificationType EdgesOnly
public static final NotificationType OnEnable
| initial state on enable |
|---|
| listener type | true | false |
|---|---|---|
| rising edge | x | - |
| falling edge | - | x |
| any edge | x | x |
public static final NotificationType MissedEvents
public static final NotificationType All
| Method Detail |
|---|
public static NotificationType[] values()
for (NotificationType c : NotificationType.values()) System.out.println(c);
public static NotificationType valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic int toInt()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||