public enum ReconnectionErrors extends Enum<ReconnectionErrors>
| Enum Constant and Description |
|---|
CONNECTION_BROKEN
Error indicating that the connection has been broken.
|
HOST_NOT_AVAILABLE
Error indicating that the host is not available.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
contains(int value)
Checks if the given integer value is present among the defined reconnection errors.
|
int |
getValue()
Retrieves the integer value associated with the reconnection error.
|
static ReconnectionErrors |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReconnectionErrors[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReconnectionErrors CONNECTION_BROKEN
public static final ReconnectionErrors HOST_NOT_AVAILABLE
public static ReconnectionErrors[] values()
for (ReconnectionErrors c : ReconnectionErrors.values()) System.out.println(c);
public static ReconnectionErrors valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic int getValue()
public static boolean contains(int value)
value - the integer value to check against the reconnection errors.true if the value is present, otherwise false.Copyright © 2025 MuleSoft, Inc.. All rights reserved.