public static enum MetadataTemplate.Operation extends Enum<MetadataTemplate.Operation>
Enum Constant and Description |
---|
addEnumOption
Adds an enum option at the end of the enum option list for the specified field.
|
addField
Adds a field at the end of the field list for the template.
|
addMultiSelectOption
Adds a new option to a multiselect field.
|
editEnumOption
Edits the enum option.
|
editField
Edits any number of the base properties of a field: displayName, hidden, description.
|
editMultiSelectOption
Edits an existing option in a multiselect field.
|
editTemplate
Edits any number of the base properties of a template: displayName, hidden.
|
removeEnumOption
Removes the specified enum option from the specified enum field.
|
removeField
Removes the specified field from the template.
|
removeMultiSelectOption
Removes an option from a multiselect field.
|
reorderEnumOptions
Reorders the enum option list to match the requested enum option list.
|
reorderFields
Reorders the field list to match the requested field list.
|
reorderMultiSelectOptions
Changes the display order of options in a multiselect field.
|
Modifier and Type | Method and Description |
---|---|
static MetadataTemplate.Operation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MetadataTemplate.Operation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MetadataTemplate.Operation addEnumOption
public static final MetadataTemplate.Operation editEnumOption
public static final MetadataTemplate.Operation removeEnumOption
public static final MetadataTemplate.Operation addField
public static final MetadataTemplate.Operation editField
public static final MetadataTemplate.Operation removeField
public static final MetadataTemplate.Operation editTemplate
public static final MetadataTemplate.Operation reorderEnumOptions
public static final MetadataTemplate.Operation reorderFields
public static final MetadataTemplate.Operation addMultiSelectOption
public static final MetadataTemplate.Operation editMultiSelectOption
public static final MetadataTemplate.Operation removeMultiSelectOption
public static final MetadataTemplate.Operation reorderMultiSelectOptions
public static MetadataTemplate.Operation[] values()
for (MetadataTemplate.Operation c : MetadataTemplate.Operation.values()) System.out.println(c);
public static MetadataTemplate.Operation 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 null