public enum ScheduledTaskState extends Enum<ScheduledTaskState>
Enum Constant and Description |
---|
CANCELLING
Zadanie jest w trakcie jego przerywania.
|
DONE
Zadanie zostało już wykonane.
|
NOT_STARTED
Zadanie nie zostało jeszcze uruchomione.
|
RUNNING
Zadanie jest w trakcie wykonywania.
|
Modifier and Type | Method and Description |
---|---|
static ScheduledTaskState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ScheduledTaskState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScheduledTaskState NOT_STARTED
public static final ScheduledTaskState RUNNING
public static final ScheduledTaskState CANCELLING
public static final ScheduledTaskState DONE
public static ScheduledTaskState[] values()
for (ScheduledTaskState c : ScheduledTaskState.values()) System.out.println(c);
public static ScheduledTaskState 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 © 2025 Suncode. All rights reserved.