public enum WhichJobsEnum extends Enum<WhichJobsEnum>
| Enum Constant and Description |
|---|
ALL |
COMPLETED |
NOT_COMPLETED |
| Modifier and Type | Method and Description |
|---|---|
String |
getValue() |
static WhichJobsEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WhichJobsEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WhichJobsEnum COMPLETED
public static final WhichJobsEnum NOT_COMPLETED
public static final WhichJobsEnum ALL
public static WhichJobsEnum[] values()
for (WhichJobsEnum c : WhichJobsEnum.values()) System.out.println(c);
public static WhichJobsEnum 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 getValue()
Copyright © 2016. All rights reserved.