public class TriggerFireDef extends Object
Trigger
defining what can fire this Rule.
It is defined by
MassManagementEngine.getTriggerTypes()
andTriggerFireDef
objects are part of each Rule definition, see Trigger.getFireDef()
,
Trigger.create(TriggerFireDef, String)
.Modifier and Type | Field and Description |
---|---|
static String |
MANNUAL_TRIGGER
The trigger type supported directly by the Mass Management Engine.
|
Modifier and Type | Method and Description |
---|---|
static TriggerFireDef |
create(String triggerType,
org.eclipse.ditto.json.JsonObject activationParams)
Creates a
TriggerEvent of type triggerType } with provided
event filtering information for the events that will automatically initiate Rule firings. |
org.eclipse.ditto.json.JsonObject |
getActivationParams() |
String |
getTriggerType()
Returns the type of functional event for triggers
|
String |
toString() |
public static final String MANNUAL_TRIGGER
Rule.fire()
method.public static TriggerFireDef create(String triggerType, org.eclipse.ditto.json.JsonObject activationParams)
TriggerEvent
of type triggerType
} with provided
event filtering information for the events that will automatically initiate Rule firings.triggerType
- trigger type.activationParams
- activation parametersTriggerEvent
defining trigger by function event.IllegalArgumentException
- if eventType
parameter is null.public String getTriggerType()
public org.eclipse.ditto.json.JsonObject getActivationParams()
Copyright © 2022 Bosch.IO GmbH. All rights reserved.