public enum ProviderScope extends Enum<ProviderScope>
| Enum Constant and Description |
|---|
GLOBAL
indicates that the provider should be registered locally and globally.
|
LOCAL
indicates that the provider is only for use with the local cluster controller.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
MAJOR_VERSION |
static int |
MINOR_VERSION |
| Modifier and Type | Method and Description |
|---|---|
static ProviderScope |
getEnumValue(Integer ordinal)
Get the matching enum for an ordinal number
|
Integer |
getOrdinal()
Get the matching ordinal number for this enum
|
static ProviderScope |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProviderScope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProviderScope GLOBAL
public static final ProviderScope LOCAL
public static final int MAJOR_VERSION
public static final int MINOR_VERSION
public static ProviderScope[] values()
for (ProviderScope c : ProviderScope.values()) System.out.println(c);
public static ProviderScope 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 ProviderScope getEnumValue(Integer ordinal)
ordinal - The ordinal numberpublic Integer getOrdinal()
Copyright © 2021. All rights reserved.