@ApplicationScoped public class RenameServiceImpl extends Object implements RenameService
| Constructor and Description |
|---|
RenameServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasRestriction(Path path) |
Path |
rename(Path path,
String newName,
String comment) |
void |
renameIfExists(Collection<Path> paths,
String newName,
String comment) |
public Path rename(Path path, String newName, String comment)
rename in interface SupportsRenamepublic void renameIfExists(Collection<Path> paths, String newName, String comment)
renameIfExists in interface RenameServicepublic boolean hasRestriction(Path path)
hasRestriction in interface RenameServiceCopyright © 2012–2018 JBoss by Red Hat. All rights reserved.