Enum LogicLocationScheme
- java.lang.Object
-
- java.lang.Enum<LogicLocationScheme>
-
- de.hybris.platform.integrationservices.scripting.LogicLocationScheme
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<LogicLocationScheme>
public enum LogicLocationScheme extends java.lang.Enum<LogicLocationScheme>
Type of schemes supported for the logic location
-
-
Enum Constant Summary
Enum Constants Enum Constant Description MODEL
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static LogicLocationSchemefrom(java.lang.String scheme)Returns the enum for the given schemestatic LogicLocationSchemevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static LogicLocationScheme[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MODEL
public static final LogicLocationScheme MODEL
-
-
Method Detail
-
values
public static LogicLocationScheme[] 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 (LogicLocationScheme c : LogicLocationScheme.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LogicLocationScheme 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
-
from
public static LogicLocationScheme from(java.lang.String scheme) throws UnsupportedLogicLocationSchemeException
Returns the enum for the given scheme- Parameters:
scheme- String representation of the enumeration to retrieve- Returns:
- The enumeration that is equivalent to the given scheme
- Throws:
UnsupportedLogicLocationSchemeException- when the given scheme does not match any of the enumerations
-
-