public static enum RuleEvent.Type extends Enum<RuleEvent.Type>
Enum Constant and Description |
---|
RULE_CREATED
Notifies a Rule has been created.
|
RULE_DELETED
Notifies a Rule has been deleted.
|
RULE_DISABLED
Notifies a Rule has been disabled.
|
RULE_ENABLED
Notifies a Rule has been enabled.
|
RULE_STATISTICS_CHANGED
Notifies about a change in the Rule statistics, i.e., number of involved or
currently executing devices has changed.
|
Modifier and Type | Method and Description |
---|---|
int |
getValue()
Returns an integer value corresponding to the predefined Rule event type.
|
static RuleEvent.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RuleEvent.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RuleEvent.Type RULE_CREATED
public static final RuleEvent.Type RULE_ENABLED
public static final RuleEvent.Type RULE_DISABLED
public static final RuleEvent.Type RULE_STATISTICS_CHANGED
public static final RuleEvent.Type RULE_DELETED
public static RuleEvent.Type[] values()
for (RuleEvent.Type c : RuleEvent.Type.values()) System.out.println(c);
public static RuleEvent.Type valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getValue()
Copyright © 2022 Bosch.IO GmbH. All rights reserved.