Package | Description |
---|---|
org.apache.camel.example.cafe |
Modifier and Type | Method and Description |
---|---|
DrinkType |
OrderItem.getDrinkType() |
static DrinkType |
DrinkType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DrinkType[] |
DrinkType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
Order.addItem(DrinkType drinkType,
int shots,
boolean iced) |
Constructor and Description |
---|
Drink(int orderNumber,
DrinkType drinkType,
boolean hot,
int shots) |
OrderItem(Order order,
DrinkType type,
int shots,
boolean iced) |
Apache Camel