Package com.broadleafcommerce.inventory
Enum DefaultImportExportTarget
- java.lang.Object
-
- java.lang.Enum<DefaultImportExportTarget>
-
- com.broadleafcommerce.inventory.DefaultImportExportTarget
-
- All Implemented Interfaces:
Serializable
,Comparable<DefaultImportExportTarget>
public enum DefaultImportExportTarget extends Enum<DefaultImportExportTarget>
Constant value to indicate the type of import or export - specifically INVENTORY, in this case. DefaultExport.getTarget()
values that are supported for processing.- Author:
- Kelly Tisdell (ktisdell)
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INVENTORY
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DefaultImportExportTarget
valueOf(String name)
Returns the enum constant of this type with the specified name.static DefaultImportExportTarget[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INVENTORY
public static final DefaultImportExportTarget INVENTORY
-
-
Method Detail
-
values
public static DefaultImportExportTarget[] 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 (DefaultImportExportTarget c : DefaultImportExportTarget.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DefaultImportExportTarget valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-