public enum AssetOverwriteStrategy extends Enum<AssetOverwriteStrategy>
| Enum Constant and Description |
|---|
FAIL_IF_DIFFERENT
If an asset file already exists and its content is different - raises exception.
|
OVERWRITE
If an asset file already exists, replace it by the new version of asset.
|
PRESERVE
If an asset file already exists, preserve the existing file.
|
| Modifier and Type | Method and Description |
|---|---|
static AssetOverwriteStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AssetOverwriteStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AssetOverwriteStrategy FAIL_IF_DIFFERENT
public static final AssetOverwriteStrategy PRESERVE
public static final AssetOverwriteStrategy OVERWRITE
public static AssetOverwriteStrategy[] values()
for (AssetOverwriteStrategy c : AssetOverwriteStrategy.values()) System.out.println(c);
public static AssetOverwriteStrategy 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 © 2022. All rights reserved.