public final class RepositoryQuery extends Object
This is done based on:
Modifier and Type | Method and Description |
---|---|
static Repository |
getRepository(FileObject fileObject,
boolean askIfUnknown)
Determines a Repository by the given file.
|
public static Repository getRepository(FileObject fileObject, boolean askIfUnknown)
fileObject
- the fileaskIfUnknown
- if true
and no repository was found,
than a modal Repository picker dialog will be presented.RepositoryQueryImplementation