public static enum Manager.Notification extends java.lang.Enum<Manager.Notification>
| Enum Constant and Description |
|---|
DROPPED_OFF_PARCEL
Notification sent whenever a truck drops off up a parcel
|
GOING_TO_CHANGED
Notification sent whenever a truck's goingTo field - what Node the
truck will end up at when the current travel queue is exhausted - changes.
|
LOCATION_CHANGED
Notification sent whenever a truck's location field -- what Node the truck is
currently on -- changes.
|
PARCEL_AT_NODE
Notification sent whenever a truck arrives at a node that contains
at least one parcel.
|
PICKED_UP_PARCEL
Notification sent whenever a truck picks up a parcel
|
STATUS_CHANGED
Notification sent whenever a truck's traveling/waiting status changes.
|
TRAVELING_TO_CHANGED
Notification Sent whenever a truck's field travelingTo field - what Node the
truck is currently traveling toward changes.
|
WAITING
Notification sent whenever a truck is waiting without any travel directions.
|
| Modifier and Type | Method and Description |
|---|---|
static Manager.Notification |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Manager.Notification[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Manager.Notification WAITING
public static final Manager.Notification LOCATION_CHANGED
public static final Manager.Notification TRAVELING_TO_CHANGED
public static final Manager.Notification GOING_TO_CHANGED
public static final Manager.Notification STATUS_CHANGED
public static final Manager.Notification PARCEL_AT_NODE
public static final Manager.Notification PICKED_UP_PARCEL
public static final Manager.Notification DROPPED_OFF_PARCEL
public static Manager.Notification[] values()
for (Manager.Notification c : Manager.Notification.values()) System.out.println(c);
public static Manager.Notification 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