public class NewMappings extends java.lang.Object implements Disposable
Modifier and Type | Class and Description |
---|---|
static class |
NewMappings.MappedRoot |
Disposable.Parent
Constructor and Description |
---|
NewMappings(Project project,
ProjectLevelVcsManagerImpl vcsManager) |
public NewMappings(Project project, ProjectLevelVcsManagerImpl vcsManager)
public void setFileWatchRequestsManager(FileWatchRequestsManager fileWatchRequestsManager)
public AbstractVcs [] getActiveVcses()
public boolean hasActiveVcss()
public void activateActiveVcses()
public void setMapping(java.lang.String path, java.lang.String activeVcsName)
public void waitMappedRootsUpdate()
public void scheduleMappedRootsUpdate()
public void mappingsChanged()
public void setDirectoryMappings(java.util.List<? extends VcsDirectoryMapping> items)
public NewMappings.MappedRoot getMappedRootFor(VirtualFile file)
public NewMappings.MappedRoot getMappedRootFor(FilePath file)
public java.util.List<VirtualFile> getMappingsAsFilesUnderVcs(AbstractVcs vcs)
public void dispose()
Disposable
dispose
in interface Disposable
public java.util.List<VcsDirectoryMapping> getDirectoryMappings()
public java.util.List<VcsDirectoryMapping> getDirectoryMappings(java.lang.String vcsName)
public java.lang.String haveDefaultMapping()
public boolean isEmpty()
public void removeDirectoryMapping(VcsDirectoryMapping mapping)
public void cleanupMappings()
public boolean haveActiveVcs(java.lang.String name)
public void beingUnregistered(java.lang.String name)