public enum DiscoveryError extends Enum<DiscoveryError>
| Enum Constant and Description |
|---|
INTERNAL_ERROR
internal error in the Global Capabilities Directory.
|
INVALID_GBID
GBID is invalid, e.g.
|
NO_ENTRY_FOR_PARTICIPANT
No entry for the requested participant ID (lookup, remove).
|
NO_ENTRY_FOR_SELECTED_BACKENDS
At least one matching entry is available but not for the selected backends (lookup, remove).
|
UNKNOWN_GBID
GBID is not known to the Global Capabilities Directory instance.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
MAJOR_VERSION |
static int |
MINOR_VERSION |
| Modifier and Type | Method and Description |
|---|---|
static DiscoveryError |
getEnumValue(Integer ordinal)
Get the matching enum for an ordinal number
|
Integer |
getOrdinal()
Get the matching ordinal number for this enum
|
static DiscoveryError |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DiscoveryError[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DiscoveryError UNKNOWN_GBID
public static final DiscoveryError INVALID_GBID
public static final DiscoveryError NO_ENTRY_FOR_PARTICIPANT
public static final DiscoveryError NO_ENTRY_FOR_SELECTED_BACKENDS
public static final DiscoveryError INTERNAL_ERROR
public static final int MAJOR_VERSION
public static final int MINOR_VERSION
public static DiscoveryError[] values()
for (DiscoveryError c : DiscoveryError.values()) System.out.println(c);
public static DiscoveryError 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 static DiscoveryError getEnumValue(Integer ordinal)
ordinal - The ordinal numberpublic Integer getOrdinal()
Copyright © 2021. All rights reserved.