public enum MetasyncResult extends Enum<MetasyncResult>
Enum Constant and Description |
---|
HTTP_ERROR
Any kind of HTTP error (e.g.
|
IO_EXCEPTION
Is any kind of error establishing a connection or during a connection that's usually on the network level
(connection refused, timeouts etc.).
|
OK
The synchronization was successful.
|
OTHER_ERROR
Anything that doesn't fit in the former categories (e.g.
|
PROTOCOL_ERROR
This means that we got a reply from the endpoint but it does not conform to what we expected (e.g.
|
Modifier and Type | Method and Description |
---|---|
static MetasyncResult |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MetasyncResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MetasyncResult OK
public static final MetasyncResult IO_EXCEPTION
public static final MetasyncResult HTTP_ERROR
public static final MetasyncResult PROTOCOL_ERROR
public static final MetasyncResult OTHER_ERROR
public static MetasyncResult[] values()
for (MetasyncResult c : MetasyncResult.values()) System.out.println(c);
public static MetasyncResult 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 nullCopyright © 2024 Global Biodiversity Information Facility (GBIF). All rights reserved.