public static enum ServiceBuilder.DependencyType extends java.lang.Enum<ServiceBuilder.DependencyType>
Enum Constant and Description |
---|
OPTIONAL
An optional dependency.
|
REQUIRED
A required dependency.
|
Modifier and Type | Method and Description |
---|---|
static ServiceBuilder.DependencyType |
valueOf(java.lang.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
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(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is nullCopyright © 2012 JBoss, a division of Red Hat, Inc.