当前页面:
在线文档首页 >
NetBeans API Javadoc 4.1.0
VcsCollocationQueryImpl (NetBeans VCS API) - NetBeans API Javadoc 4.1.0
org.netbeans.modules.vcscore
Class VcsCollocationQueryImpl
java.lang.Object
org.netbeans.modules.vcscore.VcsCollocationQueryImpl
- All Implemented Interfaces:
- CollocationQueryImplementation
- public class VcsCollocationQueryImpl
- extends Object
- implements CollocationQueryImplementation
VCS collocation query implementation based on VCS filesystems.
Files are collocated if they reside on the same VCS filesystem.
The root of a file is defined as the root of the appropriate VCS filesystem.
XXX Working directory for test under XTest is /test/work/user/
and that means all test files will be collocated because of this impl.
Document this somewhere so that test authors requiring control over
file collocations are aware of that, e.g. ant/project tests hide this impl.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VcsCollocationQueryImpl
public VcsCollocationQueryImpl()
- Do nothing
areCollocated
public boolean areCollocated(File file1,
File file2)
- Specified by:
areCollocated
in interface CollocationQueryImplementation
findRoot
public File findRoot(File f)
- Specified by:
findRoot
in interface CollocationQueryImplementation