public enum EExistingResourceHandling extends java.lang.Enum<EExistingResourceHandling>
| Enum Constant and Description |
|---|
ERROR
Produce an exception if a target file already exists.
|
IGNORE
Ignore/skip files which already exist in the target.
|
REPLACE
Replace existing resources.
|
| Modifier and Type | Method and Description |
|---|---|
static EExistingResourceHandling |
fromName(java.lang.String pName)
Gets an EExistingResourceHandling instance from its name.
|
java.lang.String |
getName()
Gets the non-translatable name.
|
static EExistingResourceHandling |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EExistingResourceHandling[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EExistingResourceHandling REPLACE
public static final EExistingResourceHandling IGNORE
public static final EExistingResourceHandling ERROR
public static EExistingResourceHandling[] values()
for (EExistingResourceHandling c : EExistingResourceHandling.values()) System.out.println(c);
public static EExistingResourceHandling valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String getName()
public static EExistingResourceHandling fromName(java.lang.String pName)
pName - the namenull if no EExistingResourceHandling instance exists for the given namegetName()Copyright © 2015 Micro Focus GmbH. All rights reserved.