public interface CopyService extends SupportsCopy
Modifier and Type | Method and Description |
---|---|
void |
copyIfExists(Collection<Path> paths,
String newName,
String comment)
Copies (in batch) the paths passed in , if they exist.
|
boolean |
hasRestriction(Path path)
Verifies if a path can be copied.
|
copy, copy
void copyIfExists(Collection<Path> paths, String newName, String comment)
paths
- Paths that will be removed.newName
- New path's name.comment
- Comment about the renaming.boolean hasRestriction(Path path)
path
- Path to be verified.Copyright © 2012–2018 JBoss by Red Hat. All rights reserved.