Enum Class LogicLocationScheme

java.lang.Object
java.lang.Enum<LogicLocationScheme>
de.hybris.platform.integrationservices.scripting.LogicLocationScheme
All Implemented Interfaces:
Serializable, Comparable<LogicLocationScheme>, Constable

public enum LogicLocationScheme extends Enum<LogicLocationScheme>
Type of schemes supported for the logic location
  • Enum Constant Details

    • MODEL

      public static final LogicLocationScheme MODEL
      Indicates program logic stored as ScriptModel in the persistent storage
    • BEAN

      public static final LogicLocationScheme BEAN
      Indicates program logic present in a Spring Bean service within the application context.
  • Method Details

    • values

      public static LogicLocationScheme[] 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

      public static LogicLocationScheme valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • from

      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