public static enum OfficeTaskModel.OfficeTaskEvent extends Enum<OfficeTaskModel.OfficeTaskEvent>
Enum Constant and Description |
---|
ADD_OFFICE_GOVERNANCE |
ADD_POST_DUTY |
ADD_PRE_DUTY |
CHANGE_OFFICE_TASK_NAME |
REMOVE_OFFICE_GOVERNANCE |
REMOVE_POST_DUTY |
REMOVE_PRE_DUTY |
Modifier and Type | Method and Description |
---|---|
static OfficeTaskModel.OfficeTaskEvent |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OfficeTaskModel.OfficeTaskEvent[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OfficeTaskModel.OfficeTaskEvent CHANGE_OFFICE_TASK_NAME
public static final OfficeTaskModel.OfficeTaskEvent ADD_PRE_DUTY
public static final OfficeTaskModel.OfficeTaskEvent REMOVE_PRE_DUTY
public static final OfficeTaskModel.OfficeTaskEvent ADD_POST_DUTY
public static final OfficeTaskModel.OfficeTaskEvent REMOVE_POST_DUTY
public static final OfficeTaskModel.OfficeTaskEvent ADD_OFFICE_GOVERNANCE
public static final OfficeTaskModel.OfficeTaskEvent REMOVE_OFFICE_GOVERNANCE
public static OfficeTaskModel.OfficeTaskEvent[] values()
for (OfficeTaskModel.OfficeTaskEvent c : OfficeTaskModel.OfficeTaskEvent.values()) System.out.println(c);
public static OfficeTaskModel.OfficeTaskEvent 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.