public enum Resource extends Enum<Resource>
| Enum Constant and Description |
|---|
SERVICE_REGISTRY
Set to only receive service entries that are generated by the platform.
|
| Modifier and Type | Method and Description |
|---|---|
int |
value() |
static Resource |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Resource[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Resource SERVICE_REGISTRY
public static Resource[] values()
for (Resource c : Resource.values()) System.out.println(c);
public static Resource 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 value()
Copyright © 2017–2020 Red Hat. All rights reserved.