public static enum JobConsumer.JobResult extends Enum<JobConsumer.JobResult>
Modifier and Type | Method and Description |
---|---|
static JobConsumer.JobResult |
valueOf(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(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 © 2014 The Apache Software Foundation. All rights reserved.