Enum Class ActiveStepSearchMode
- All Implemented Interfaces:
Serializable, Comparable<ActiveStepSearchMode>, Constable
Controls which active Step types Dex records in the
ActiveStepTypes search index.
Before renaming or removing a Step implementation, applications can search
ActiveStepTypes to find running Flows that still use that Step type and preserve
backward compatibility. Broader indexing provides more complete visibility but performs more
search-index updates. Narrower indexing reduces those updates but may omit active Steps from
search results.
FlowConfig config = FlowConfig.newBuilder()
.activeStepSearchMode(ActiveStepSearchMode.ALL)
.build();
client.updateFlowConfig("order-123", config);
SearchFlowsPage active = client.searchFlows(
"ActiveStepTypes = 'ChargeOrder'",
100);
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionIndexes every active Step type, including Steps that execute withoutwaitFor.Uses the server default, which indexes active Steps whosewaitFormethod is used.Does not index active Step types, so active-Step searches cannot find this Flow.Indexes an active Step type only when itsStep.waitFor(Context, Object)method runs. -
Method Summary
Modifier and TypeMethodDescriptionstatic ActiveStepSearchModeReturns the enum constant of this class with the specified name.static ActiveStepSearchMode[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DEFAULT
Uses the server default, which indexes active Steps whosewaitFormethod is used. -
ALL
Indexes every active Step type, including Steps that execute withoutwaitFor. -
WITH_WAIT_FOR
Indexes an active Step type only when itsStep.waitFor(Context, Object)method runs. -
DISABLED
Does not index active Step types, so active-Step searches cannot find this Flow.
-
-
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
-