public static enum Scheduled.ConcurrentExecution extends Enum<Scheduled.ConcurrentExecution>
Enum Constant and Description |
---|
PROCEED
The scheduled method can be executed concurrently, i.e.
|
SKIP
The scheduled method is never executed concurrently, i.e.
|
Modifier and Type | Method and Description |
---|---|
static Scheduled.ConcurrentExecution |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Scheduled.ConcurrentExecution[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Scheduled.ConcurrentExecution PROCEED
public static final Scheduled.ConcurrentExecution SKIP
public static Scheduled.ConcurrentExecution[] values()
for (Scheduled.ConcurrentExecution c : Scheduled.ConcurrentExecution.values()) System.out.println(c);
public static Scheduled.ConcurrentExecution 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 © 2020 JBoss by Red Hat. All rights reserved.