public static enum Reject.Reason extends Enum<Reject.Reason>
Enum Constant and Description |
---|
ARRIVAL_TIME_TOO_LARGE
The arrival time requested in the reservation parameters is too far in
the future.
|
ARRIVAL_TIME_TOO_LATE
The arrival time requested in the reservation parameters is before the
current time.
|
BEFORE_NEXT_ALLOWED_COMM
This vehicle is still "timed out" from its last transmission and must
wait to transmit again (i.e., the vehicle cannot send the request before
the next allowed communication time in the previous reject messages.)
|
CONFIRMED_ANOTHER_REQUEST
The intersection manager has confirmed another request and cannot
guest a new request.
|
NO_CLEAR_PATH
The intersection could not find a clear path through the intersection
using the parameters supplied.
|
Modifier and Type | Method and Description |
---|---|
static Reject.Reason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Reject.Reason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Reject.Reason NO_CLEAR_PATH
public static final Reject.Reason CONFIRMED_ANOTHER_REQUEST
public static final Reject.Reason ARRIVAL_TIME_TOO_LARGE
public static final Reject.Reason ARRIVAL_TIME_TOO_LATE
public static final Reject.Reason BEFORE_NEXT_ALLOWED_COMM
public static Reject.Reason[] values()
for (Reject.Reason c : Reject.Reason.values()) System.out.println(c);
public static Reject.Reason 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 © 2013. All rights reserved.