Enum Class Receiver.OnError

java.lang.Object
java.lang.Enum<Receiver.OnError>
org.frankframework.receivers.Receiver.OnError
All Implemented Interfaces:
Serializable, Comparable<Receiver.OnError>, Constable
Enclosing class:
Receiver<M>

public static enum Receiver.OnError extends Enum<Receiver.OnError>
  • Enum Constant Details

    • CONTINUE

      public static final Receiver.OnError CONTINUE
      Don't stop the receiver when an error occurs.
    • RECOVER

      public static final Receiver.OnError RECOVER
      If an error occurs (e.g. connection is lost) the receiver will be stopped and marked as ERROR Once every recover.adapters.interval it attempts to (re-) start the receiver.
    • CLOSE

      public static final Receiver.OnError CLOSE
      Stop the receiver when an error occurs.
  • Method Details

    • values

      public static Receiver.OnError[] 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 Receiver.OnError 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