public static enum EncXM.MappableExitMethod extends Enum<EncXM.MappableExitMethod>
The values represent three (out of four) different methods a job can exit the encapsulated queue.
Note that the fourth method, a revocation,
is not supported by EncXM,
in other words,
you cannot map this onto one of the other exit methods
(which would violate the SimQueue interface).
EncXM| Enum Constant and Description |
|---|
AUTO_REVOCATION
A job auto-revocation (on the encapsulated queue).
|
DEPARTURE
A job departure (on the encapsulated queue).
|
DROP
A job drop (on the encapsulated queue).
|
| Modifier and Type | Method and Description |
|---|---|
String |
toString()
Returns the name of this enum value; fixed at construction.
|
static EncXM.MappableExitMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EncXM.MappableExitMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EncXM.MappableExitMethod DROP
public static final EncXM.MappableExitMethod AUTO_REVOCATION
public static final EncXM.MappableExitMethod DEPARTURE
public static EncXM.MappableExitMethod[] values()
for (EncXM.MappableExitMethod c : EncXM.MappableExitMethod.values()) System.out.println(c);
public static EncXM.MappableExitMethod 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 nullpublic final String toString()
toString in class Enum<EncXM.MappableExitMethod>Copyright © 2018. All rights reserved.