public static enum CqQueryFolderItem.OverwriteMode extends Enum<CqQueryFolderItem.OverwriteMode>
Enum Constant and Description |
---|
FORBID
If a resource exists at the target location, the operation will
fail; the resource at the target location will not be overwritten.
|
MERGE
If the source resource is a folder and a folder exists at the target
location, that folder is not deleted, but the contents of the source
folder are merged with the contents of the target folder and this
rule is applied recursively for each member of the source folder.
|
REPLACE
If a resource exists at the target location, that resource is to be
deleted and replaced by the source resource.
|
Modifier and Type | Method and Description |
---|---|
static CqQueryFolderItem.OverwriteMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CqQueryFolderItem.OverwriteMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CqQueryFolderItem.OverwriteMode FORBID
public static final CqQueryFolderItem.OverwriteMode MERGE
public static final CqQueryFolderItem.OverwriteMode REPLACE
public static CqQueryFolderItem.OverwriteMode 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 static CqQueryFolderItem.OverwriteMode[] values()
for (CqQueryFolderItem.OverwriteMode c : CqQueryFolderItem.OverwriteMode.values()) System.out.println(c);
Copyright © IBM 2017. All rights reserved.