public enum RenameOption extends Enum<RenameOption>
Define the behaviors of a rename operation.
Enum Constant and Description |
---|
createdir
Creates the parent directory if it does not already exist.
|
findbacklinks
Requests that servers, implementing link fixup, fix the linked files other than those moved.
|
nochangeall
Do not perform link fixup on links in moved documents.
|
none
The client MUST send "none" if it does not want to specify any of the options given
by a RENAME-OPTION-VAL.
|
patchprefix
Simulates the move of a directory rather than a file.
|
Modifier and Type | Method and Description |
---|---|
static EnumSet<RenameOption> |
getOptions(String stringValues) |
static RenameOption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RenameOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RenameOption none
public static final RenameOption createdir
public static final RenameOption findbacklinks
public static final RenameOption nochangeall
public static final RenameOption patchprefix
public static RenameOption[] values()
for (RenameOption c : RenameOption.values()) System.out.println(c);
public static RenameOption 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 EnumSet<RenameOption> getOptions(String stringValues)
Copyright © 2005–2017 Alfresco Software. All rights reserved.