Package net.pricefx.domain
Enum Class Pricelist.ProcessingMode
- All Implemented Interfaces:
Serializable
,Comparable<Pricelist.ProcessingMode>
,Constable
- Enclosing class:
Pricelist
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionAdds items from product selection criteria to list Will NOT overwrite existing resultsAdds items from product selection criteria to list Will overwrite existing resultsCreates a new pricelist Will wipe potentially existing results Uses specified product selection criteriaOnly valid if previous pricelist specified.Only valid if previous pricelist specified. -
Method Summary
Modifier and TypeMethodDescriptionstatic Pricelist.ProcessingMode
Returns the enum constant of this class with the specified name.static Pricelist.ProcessingMode[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NEW_REVISION
Only valid if previous pricelist specified. Will wipe potentially existing results. Uses previous pricelist's product selection as input -
NEW_PRICELIST
Creates a new pricelist Will wipe potentially existing results Uses specified product selection criteria -
ADD_ITEM_OVERRIDE
Adds items from product selection criteria to list Will overwrite existing results -
ADD_ITEM_NOOVERRIDE
Adds items from product selection criteria to list Will NOT overwrite existing results -
NEW_REVISION_BYCRITERIA
Only valid if previous pricelist specified. Will wipe potentially existing results. Uses previous pricelist's product selection filter as input. Normal revision uses the actual SKU set
-
-
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
-