Package com.persequor.extension.epc
Enum Class EpcExpanderMode
- All Implemented Interfaces:
Serializable
,Comparable<EpcExpanderMode>
,Constable
Mode of EPC expansion, controlling the interplay between multiple implementations of
IEpcExpander
.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe results of eachIEpcExpander
is passed as part of the input to the next.Whenever used, resolves to one of the other modes via `saga-epc.expansion.default-mode` configuration property.No EPC Expansion.TheIEpcExpander
s are invoked over and over again until they produce no more new EPCs.The results of eachIEpcExpander
is not added to the input of the following. -
Method Summary
Modifier and TypeMethodDescriptionstatic EpcExpanderMode
Returns the enum constant of this class with the specified name.static EpcExpanderMode[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DEFAULT
Whenever used, resolves to one of the other modes via `saga-epc.expansion.default-mode` configuration property.If you would like to use expansion, but unsure which mode to choose, this option enables the installation default.
-
DISABLED
No EPC Expansion. -
CUMULATIVE
The results of eachIEpcExpander
is passed as part of the input to the next. -
NON_CUMULATIVE
The results of eachIEpcExpander
is not added to the input of the following.Used when the output of the first expanders can be used by following expanders, but not vice-versa.
-
EXHAUSTIVE
TheIEpcExpander
s are invoked over and over again until they produce no more new EPCs.This is useful if the output of expanders should result in further expansion from expanders earlier in the list.
-
-
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
-