Package nl.nn.adapterframework.receivers
Enum Receiver.OnError
- java.lang.Object
-
- java.lang.Enum<Receiver.OnError>
-
- nl.nn.adapterframework.receivers.Receiver.OnError
-
- All Implemented Interfaces:
Serializable
,Comparable<Receiver.OnError>
public static enum Receiver.OnError extends Enum<Receiver.OnError>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Receiver.OnError
valueOf(String name)
Returns the enum constant of this type with the specified name.static Receiver.OnError[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
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 (eg. connection is lost) the receiver will be stopped and marked as ERROR Once everyrecover.adapters.interval
it will be attempted to (re-) start the receiver.
-
CLOSE
public static final Receiver.OnError CLOSE
Stop the receiver when an error occurs.
-
-
Method Detail
-
values
public static Receiver.OnError[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Receiver.OnError c : Receiver.OnError.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Receiver.OnError valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
-