public interface FileOwnerQueryImplementation
An implementation must attempt to return a result quickly and avoid
blocking on foreign locks. In particular, it should not call OpenProjects
.
FileOwnerQuery
Modifier and Type | Method and Description |
---|---|
Project |
getOwner(FileObject file)
Decide which project, if any, "owns" a given file.
|
Project |
getOwner(URI file)
Decide which project, if any, "owns" a given file.
|
Project getOwner(URI file)
file
- an absolute URI to some file (typically on disk; need not currently exist)Project getOwner(FileObject file)
file
- FileObject of an existing file