public enum UpdateOption extends Enum<UpdateOption>
enum representing the updateOption parameter in the
Update or Restore File API method.| Enum Constant and Description |
|---|
clear_translations_and_approvals
Delete translations of changed strings
|
keep_translations
Preserve translations of changed strings but remove approvals of those
translations if they exist
|
keep_translations_and_approvals
Preserve translations and approvals 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 clear_translations_and_approvals
public static final UpdateOption keep_translations
public static final UpdateOption keep_translations_and_approvals
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 © 2024. All rights reserved.