public static enum ServiceBuilder.DependencyType extends Enum<ServiceBuilder.DependencyType>
Enum Constant and Description |
---|
OPTIONAL
Deprecated.
Optional dependencies are unsafe and should not be used.
|
REQUIRED
A required dependency.
|
Modifier and Type | Method and Description |
---|---|
static ServiceBuilder.DependencyType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ServiceBuilder.DependencyType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ServiceBuilder.DependencyType REQUIRED
@Deprecated public static final ServiceBuilder.DependencyType OPTIONAL
public static ServiceBuilder.DependencyType[] values()
for (ServiceBuilder.DependencyType c : ServiceBuilder.DependencyType.values()) System.out.println(c);
public static ServiceBuilder.DependencyType 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 © 2017 JBoss by Red Hat. All rights reserved.