public enum EFileConflictResolution extends Enum<EFileConflictResolution> implements INamedUiElement
Enum Constant and Description |
---|
RENAME
Rename the new file and give it a name that does not exist yet.
|
REPLACE
Replace the old file with the new file.
|
SKIP
Skip the uploaded file and keep the old file.
|
ATTR_DISPLAY_NAME
Modifier and Type | Method and Description |
---|---|
String |
getDisplayName(Locale l) |
static EFileConflictResolution |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EFileConflictResolution[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EFileConflictResolution SKIP
public static final EFileConflictResolution REPLACE
public static final EFileConflictResolution RENAME
public static EFileConflictResolution[] values()
for (EFileConflictResolution c : EFileConflictResolution.values()) System.out.println(c);
public static EFileConflictResolution 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 nullpublic String getDisplayName(Locale l)
getDisplayName
in interface INamedUiElement
Copyright © 2021 XIMA MEDIA GmbH. All rights reserved.