Package | Description |
---|---|
com.bosch.iot.dm.mme |
Provides Mass Management Engine APIs for managing devices
in a mass and automated way.
|
Modifier and Type | Method and Description |
---|---|
ExecOptions |
ExecOptions.autoDisable(boolean autoDisable)
Defines whether the Rule should be automatically disabled once all targets from the Scope pass through the triggering conditions.
|
ExecOptions |
ExecOptions.concurrency(int limit,
int timeoutSeconds)
Defines concurrency limit execution option.
|
static ExecOptions |
ExecOptions.create()
Creates ExecOptions instance ready to be filled with desired options.
|
ExecOptions |
Rule.getExecOptions()
Returns the execution options of this Rule.
|
ExecOptions |
Task.getExecutionOptions()
Returns the execution options with which this Task has been launched.
|
ExecOptions |
ExecOptions.oncePerDevice(boolean oncePerDevice)
Defines whether the Rule can be executed multiple times on a given device, or should be executed only once,
skipping subsequent triggers for that device.
|
ExecOptions |
ExecOptions.overlap(ExecOptions.Overlapping option)
Sets
ExecOptions.Overlapping execution option. |
ExecOptions |
ExecOptions.priority(int priority)
Defines a rule priority execution option.
|
ExecOptions |
ExecOptions.timeConstraint(String timeConstraint)
Defines at what time-schedule it is permitted for the Task to act.
|
Modifier and Type | Method and Description |
---|---|
Optional<ExecOptions> |
TaskParameters.execOptions() |
Modifier and Type | Method and Description |
---|---|
CompletionStage<Rule> |
MassManagementEngine.createRule(String ruleDisplayName,
Scope scope,
TriggerList trigger,
ExecOptions options,
Action action)
Creates a Rule with given attributes - display name, execution scope, trigger definition, execution options and groovy script text.
|
T |
TaskParameters.Builder.execOptions(ExecOptions execOptions) |
CompletionStage<Task> |
MassManagementEngine.launchTask(String displayName,
Scope scope,
ExecOptions options,
Action action)
Launches a Task with given attributes - display name, execution scope, execution options and groovy script text.
|
CompletionStage<Void> |
Rule.modify(String ruleDisplayName,
Scope scope,
TriggerList trigger,
ExecOptions options,
Action action)
Modifies existing Rule.
|
Copyright © 2022 Bosch.IO GmbH. All rights reserved.