public static enum ExecOptions.Overlapping extends Enum<ExecOptions.Overlapping>
Enum Constant and Description |
---|
ALLOW_OVERLAPPING_TASKS
No relation constraint between Tasks.
|
NO_OVERLAPPING_CANCEL_OLD
In case of Rule firing for particular device, any previous executions still running
for this device in the scope of the same Rule will be canceled.
|
NO_OVERLAPPING_KEEP_OLD_SKIP_NEW
Skip triggering a new Task for devices that already have unfinished Tasks in the scope of the Rule.
|
Modifier and Type | Method and Description |
---|---|
int |
getValue()
Returns an integer value corresponding to the predefined option.
|
static ExecOptions.Overlapping |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExecOptions.Overlapping[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExecOptions.Overlapping ALLOW_OVERLAPPING_TASKS
public static final ExecOptions.Overlapping NO_OVERLAPPING_CANCEL_OLD
public static final ExecOptions.Overlapping NO_OVERLAPPING_KEEP_OLD_SKIP_NEW
public static ExecOptions.Overlapping[] values()
for (ExecOptions.Overlapping c : ExecOptions.Overlapping.values()) System.out.println(c);
public static ExecOptions.Overlapping 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.