public enum DiscoveryScope extends Enum<DiscoveryScope>
| Enum Constant and Description |
|---|
GLOBAL_ONLY
Only the global registry will be queried during discovery
|
LOCAL_AND_GLOBAL
local capabilities and capabilities from the global registry will be combined and returned
|
LOCAL_ONLY
Only capabilities registered locally will be discovered
|
LOCAL_THEN_GLOBAL
local capabilities will be discovered if available; otherwise the global registry will be queried
|
| Modifier and Type | Method and Description |
|---|---|
static DiscoveryScope |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DiscoveryScope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DiscoveryScope LOCAL_ONLY
public static final DiscoveryScope LOCAL_THEN_GLOBAL
public static final DiscoveryScope LOCAL_AND_GLOBAL
public static final DiscoveryScope GLOBAL_ONLY
public static DiscoveryScope[] values()
for (DiscoveryScope c : DiscoveryScope.values()) System.out.println(c);
public static DiscoveryScope 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 © 2021. All rights reserved.