public static enum Domain.State extends Enum<Domain.State>
Enum Constant and Description |
---|
ACTIVE
The domain is active.
|
INACTIVE
The domain is inactive.
|
NEW
The domain is new.
|
Modifier and Type | Method and Description |
---|---|
static Domain.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Domain.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Domain.State ACTIVE
public static final Domain.State INACTIVE
public static final Domain.State NEW
public static Domain.State[] values()
for (Domain.State c : Domain.State.values()) System.out.println(c);
public static Domain.State 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 © 2016. All rights reserved.