Enum Class LogicLocationScheme
java.lang.Object
java.lang.Enum<LogicLocationScheme>
de.hybris.platform.integrationservices.scripting.LogicLocationScheme
- All Implemented Interfaces:
Serializable,Comparable<LogicLocationScheme>,Constable
Type of schemes supported for the logic location
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionIndicates program logic present in a Spring Bean service within the application context.Indicates program logic stored asScriptModelin the persistent storage -
Method Summary
Modifier and TypeMethodDescriptionstatic LogicLocationSchemeReturns the enum for the given schemestatic LogicLocationSchemeReturns the enum constant of this class with the specified name.static LogicLocationScheme[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
MODEL
Indicates program logic stored asScriptModelin the persistent storage -
BEAN
Indicates program logic present in a Spring Bean service within the application context.
-
-
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
-
from
public static LogicLocationScheme from(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
-