Package de.hybris.platform.patches.data
Enum ImpexImportUnitOption
- java.lang.Object
-
- java.lang.Enum<ImpexImportUnitOption>
-
- de.hybris.platform.patches.data.ImpexImportUnitOption
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<ImpexImportUnitOption>
public enum ImpexImportUnitOption extends java.lang.Enum<ImpexImportUnitOption>
Enum containing impex import unit option data which is needed to change default impex import configuration (ImportConfig).
-
-
Enum Constant Summary
Enum Constants Enum Constant Description LEGACY_MODEUsed for Impex Import, servicelayer converters are not used.SINGLE_THREADUsed for Impex Import to set the number of threads to one, impex will be run inside one thread.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ImpexImportUnitOptionvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ImpexImportUnitOption[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LEGACY_MODE
public static final ImpexImportUnitOption LEGACY_MODE
Used for Impex Import, servicelayer converters are not used.
-
SINGLE_THREAD
public static final ImpexImportUnitOption SINGLE_THREAD
Used for Impex Import to set the number of threads to one, impex will be run inside one thread.- See Also:
ImportConfig.setMaxThreads(int)
-
-
Method Detail
-
values
public static ImpexImportUnitOption[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ImpexImportUnitOption c : ImpexImportUnitOption.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ImpexImportUnitOption valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-