public enum JobStatus extends Enum<JobStatus>
| Enum Constant and Description |
|---|
FINISHED
Set when the job has finished execution; however, this will be done prior to other post-execution steps, namely
rescheduling the job (if it is repeating).
|
NONE
When the status column in the database is not set, the C* driver returns zero.
|
| Modifier and Type | Method and Description |
|---|---|
static JobStatus |
fromCode(byte code) |
byte |
getCode() |
static JobStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JobStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JobStatus NONE
public static final JobStatus FINISHED
public static JobStatus[] values()
for (JobStatus c : JobStatus.values()) System.out.println(c);
public static JobStatus 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 nullpublic byte getCode()
public static JobStatus fromCode(byte code)
Copyright © 2014–2019 Red Hat, Inc.. All rights reserved.