public static enum JobCallable.JobState extends Enum<JobCallable.JobState>
Modifier and Type | Method and Description |
---|---|
static JobCallable.JobState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JobCallable.JobState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JobCallable.JobState STARTED
public static final JobCallable.JobState FAILED
public static final JobCallable.JobState COMPLETED
public static JobCallable.JobState[] values()
for (JobCallable.JobState c : JobCallable.JobState.values()) System.out.println(c);
public static JobCallable.JobState 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 © 2022 The Apache Software Foundation. All rights reserved.