Package de.hybris.datasupplier.data
Enum DSSendResult.SupplyStatus
- java.lang.Object
-
- java.lang.Enum<DSSendResult.SupplyStatus>
-
- de.hybris.datasupplier.data.DSSendResult.SupplyStatus
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<DSSendResult.SupplyStatus>
- Enclosing class:
- DSSendResult
public static enum DSSendResult.SupplyStatus extends java.lang.Enum<DSSendResult.SupplyStatus>
Enumeration which is used as return status of SLDSupplierStrategy. Informs what is the result of supply data process
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DISABLEDEnumeration value forDSSendResult.SupplyStatusERROREnumeration value forDSSendResult.SupplyStatusSUCCESSEnumeration value forDSSendResult.SupplyStatus
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DSSendResult.SupplyStatusvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static DSSendResult.SupplyStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SUCCESS
public static final DSSendResult.SupplyStatus SUCCESS
Enumeration value forDSSendResult.SupplyStatusData has been supplied
-
ERROR
public static final DSSendResult.SupplyStatus ERROR
Enumeration value forDSSendResult.SupplyStatusAn error occurred
-
DISABLED
public static final DSSendResult.SupplyStatus DISABLED
Enumeration value forDSSendResult.SupplyStatusData supplier is disabled
-
-
Method Detail
-
values
public static DSSendResult.SupplyStatus[] 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 (DSSendResult.SupplyStatus c : DSSendResult.SupplyStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DSSendResult.SupplyStatus 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
-
-