Package org.frankframework.receivers
Enum Class Receiver.OnError
- All Implemented Interfaces:
Serializable
,Comparable<Receiver.OnError>
,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionStop the receiver when an error occurs.Don't stop the receiver when an error occurs.If an error occurs (e.g. connection is lost) the receiver will be stopped and marked as ERROR Once everyrecover.adapters.interval
it attempts to (re-) start the receiver. -
Method Summary
Modifier and TypeMethodDescriptionstatic Receiver.OnError
Returns the enum constant of this class with the specified name.static Receiver.OnError[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CONTINUE
Don't stop the receiver when an error occurs. -
RECOVER
If an error occurs (e.g. connection is lost) the receiver will be stopped and marked as ERROR Once everyrecover.adapters.interval
it attempts to (re-) start the receiver. -
CLOSE
Stop the receiver when an error occurs.
-
-
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
-