Enum Class IWatcher.TriggeringType
java.lang.Object
java.lang.Enum<IWatcher.TriggeringType>
laas.openrobots.ontology.modules.events.IWatcher.TriggeringType
- All Implemented Interfaces:
Serializable
,Comparable<IWatcher.TriggeringType>
,Constable
- Enclosing interface:
- IWatcher
Constants that defines the way an event is triggered.
ON_TRUE
: the event is triggered each time the corresponding watch expression becomes true.ON_TRUE_ONE_SHOT
: the event is triggered the first time the corresponding watch expression becomes true. The watcher is then deleted.ON_FALSE
: the event is triggered each time the corresponding watch expression becomes false.ON_FALSE_ONE_SHOT
: the event is triggered the first time the corresponding watch expression becomes false. The watcher is then deleted.ON_TOGGLE
: the event is triggered each time the corresponding watch expression becomes true or false.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic IWatcher.TriggeringType
Returns the enum constant of this class with the specified name.static IWatcher.TriggeringType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ON_TRUE
-
ON_TRUE_ONE_SHOT
-
ON_FALSE
-
ON_FALSE_ONE_SHOT
-
ON_TOGGLE
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-