public interface RenameService extends SupportsRename
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasRestriction(Path path)
Verifies if a path can be renamed.
|
void |
renameIfExists(Collection<Path> paths,
String newName,
String comment)
Renames (in batch) the paths passed in , if they exist.
|
renamevoid renameIfExists(Collection<Path> paths, String newName, String comment)
paths - Paths that will be renamed.newName - Path's new name.comment - Comment about the renaming.boolean hasRestriction(Path path)
path - Path to be verified.Copyright © 2012–2021 JBoss by Red Hat. All rights reserved.