public enum DeliveryType extends Enum<DeliveryType>
User: Pavel Abizyaev, Date: 04.09.2014 18:30
Enum Constant and Description |
---|
Discard |
Display
Print is displayed, but not yet printed.
|
Email |
Journal |
Print |
SMS |
Modifier and Type | Method and Description |
---|---|
static DeliveryType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DeliveryType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DeliveryType Display
public static final DeliveryType Print
public static final DeliveryType SMS
public static final DeliveryType Email
public static final DeliveryType Discard
public static final DeliveryType Journal
public static DeliveryType[] values()
for (DeliveryType c : DeliveryType.values()) System.out.println(c);
public static DeliveryType 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 © 2015. All rights reserved.