public static enum SimQueue.AutoRevocationPolicy extends Enum<SimQueue.AutoRevocationPolicy>
Auto-revocation refers to the revocation of jobs upon a specific user-specified state condition.
It plays an essential role in composite queues, notably CTandem2.
| Enum Constant and Description |
|---|
NONE
No auto-revocation (this is the mandatory default on each
SimQueue). |
UPON_START
Job auto-revocation upon start.
|
| Modifier and Type | Method and Description |
|---|---|
static SimQueue.AutoRevocationPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SimQueue.AutoRevocationPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SimQueue.AutoRevocationPolicy NONE
SimQueue).public static final SimQueue.AutoRevocationPolicy UPON_START
public static SimQueue.AutoRevocationPolicy[] values()
for (SimQueue.AutoRevocationPolicy c : SimQueue.AutoRevocationPolicy.values()) System.out.println(c);
public static SimQueue.AutoRevocationPolicy 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 © 2018. All rights reserved.