public enum UpdateOption extends Enum<UpdateOption>
enum representing the update_option parameter in the
update-file API method.| Enum Constant and Description |
|---|
delete_translations
Delete translations of changed strings
|
update_as_unapproved
Preserve translations of changed strings but remove validations of those
translations if they exist
|
update_without_changes
Preserve translations and validations of changed strings
|
| Modifier and Type | Method and Description |
|---|---|
static UpdateOption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UpdateOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UpdateOption delete_translations
public static final UpdateOption update_as_unapproved
public static final UpdateOption update_without_changes
public static UpdateOption[] values()
for (UpdateOption c : UpdateOption.values()) System.out.println(c);
public static UpdateOption 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 © 2018. All rights reserved.