Enum Class ErrorHandler.RESULT

java.lang.Object
java.lang.Enum<ErrorHandler.RESULT>
de.hybris.platform.impex.jalo.ErrorHandler.RESULT
All Implemented Interfaces:
Serializable, Comparable<ErrorHandler.RESULT>, Constable
Enclosing interface:
ErrorHandler

public static enum ErrorHandler.RESULT extends Enum<ErrorHandler.RESULT>
Enumeration of possible results when processing ImpEx errors.
  • Enum Constant Details

    • FAIL

      public static final ErrorHandler.RESULT FAIL
      If the FAIL state is chosen, the process will throw the exception and therefore the process stops un-continuable.
    • IGNORE

      public static final ErrorHandler.RESULT IGNORE
      If the IGNORE state is chosen, the process will continue with next processing unit without throwing the error.
  • Method Details

    • values

      public static ErrorHandler.RESULT[] 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 ErrorHandler.RESULT 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