public static enum DutyModel.DutyEvent extends Enum<DutyModel.DutyEvent>
Enum Constant and Description |
---|
ADD_POST_OFFICE_TASK |
ADD_PRE_OFFICE_TASK |
CHANGE_DUTY_NAME |
REMOVE_POST_OFFICE_TASK |
REMOVE_PRE_OFFICE_TASK |
Modifier and Type | Method and Description |
---|---|
static DutyModel.DutyEvent |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DutyModel.DutyEvent[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DutyModel.DutyEvent CHANGE_DUTY_NAME
public static final DutyModel.DutyEvent ADD_PRE_OFFICE_TASK
public static final DutyModel.DutyEvent REMOVE_PRE_OFFICE_TASK
public static final DutyModel.DutyEvent ADD_POST_OFFICE_TASK
public static final DutyModel.DutyEvent REMOVE_POST_OFFICE_TASK
public static DutyModel.DutyEvent[] values()
for (DutyModel.DutyEvent c : DutyModel.DutyEvent.values()) System.out.println(c);
public static DutyModel.DutyEvent 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 © 2005–2016. All rights reserved.