public static enum DependentServiceDescriptor.Necessity extends java.lang.Enum<DependentServiceDescriptor.Necessity>
| Modifier and Type | Method and Description |
|---|---|
static DependentServiceDescriptor.Necessity |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DependentServiceDescriptor.Necessity[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
|
public static final DependentServiceDescriptor.Necessity Required
public static final DependentServiceDescriptor.Necessity Optional
public static DependentServiceDescriptor.Necessity[] values()
for (DependentServiceDescriptor.Necessity c : DependentServiceDescriptor.Necessity.values())
System.out.println(c);
public static DependentServiceDescriptor.Necessity 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 null