public static enum JobConsumer.JobResult extends java.lang.Enum<JobConsumer.JobResult>
Enum Constant and Description |
---|
ASYNC
Processing will be done asynchronously.
|
CANCEL
Processing failed permanently and must not be retried.
|
FAILED
Processing failed but might be retried.
|
OK
Processing finished successfully.
|
Modifier and Type | Method and Description |
---|---|
static JobConsumer.JobResult |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static JobConsumer.JobResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JobConsumer.JobResult OK
public static final JobConsumer.JobResult FAILED
public static final JobConsumer.JobResult CANCEL
public static final JobConsumer.JobResult ASYNC
public static JobConsumer.JobResult[] values()
for (JobConsumer.JobResult c : JobConsumer.JobResult.values()) System.out.println(c);
public static JobConsumer.JobResult valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullCopyright © 2010 - 2020 Adobe. All Rights Reserved