public enum DefaultJobField extends Enum<DefaultJobField> implements JobField
Enum Constant and Description |
---|
DATE_CREATED |
DATE_UPDATED |
JOB_TICKET |
QUERY |
STATUS |
USER_ID |
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
Returns a human-friendly description of the field.
|
String |
getName()
Returns the name of the field (i.e.
|
String |
toString() |
static DefaultJobField |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DefaultJobField[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DefaultJobField QUERY
public static final DefaultJobField STATUS
public static final DefaultJobField JOB_TICKET
public static final DefaultJobField DATE_CREATED
public static final DefaultJobField USER_ID
public static final DefaultJobField DATE_UPDATED
public static DefaultJobField[] values()
for (DefaultJobField c : DefaultJobField.values()) System.out.println(c);
public static DefaultJobField 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 String getName()
JobField
public String getDescription()
JobField
getDescription
in interface JobField
public String toString()
toString
in class Enum<DefaultJobField>
Copyright © 2016–2018 Yahoo! Inc.. All rights reserved.