public interface DeleteService extends SupportsDelete
Modifier and Type | Method and Description |
---|---|
void |
deleteIfExists(Collection<Path> paths,
String comment)
Deletes (in batch) the paths passed in , if they exist.
|
boolean |
hasRestriction(Path path)
Verifies if a path can be deleted.
|
delete
void deleteIfExists(Collection<Path> paths, String comment)
paths
- Paths that will be removed.boolean hasRestriction(Path path)
path
- Path to be verified.Copyright © 2012–2020 JBoss by Red Hat. All rights reserved.