public class SwitchedFileHolder extends java.lang.Object implements FileHolder
Constructor and Description |
---|
SwitchedFileHolder(Project project) |
Modifier and Type | Method and Description |
---|---|
void |
addFile(VirtualFile file,
java.lang.String branch,
boolean recursive) |
void |
cleanAll() |
void |
cleanAndAdjustScope(VcsModifiableDirtyScope scope) |
boolean |
containsFile(VirtualFile file) |
SwitchedFileHolder |
copy() |
boolean |
equals(java.lang.Object o) |
java.lang.String |
getBranchForFile(VirtualFile file) |
MultiMap<java.lang.String,VirtualFile> |
getBranchToFileMap() |
java.util.Map<VirtualFile,java.lang.String> |
getFilesMapCopy() |
int |
hashCode() |
boolean |
isEmpty() |
void |
removeFile(VirtualFile file) |
java.util.Collection<VirtualFile> |
values() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
notifyVcsStarted
public SwitchedFileHolder(Project project)
public void cleanAll()
cleanAll
in interface FileHolder
public SwitchedFileHolder copy()
copy
in interface FileHolder
public void cleanAndAdjustScope(VcsModifiableDirtyScope scope)
cleanAndAdjustScope
in interface FileHolder
public java.util.Map<VirtualFile,java.lang.String> getFilesMapCopy()
public boolean isEmpty()
public java.util.Collection<VirtualFile> values()
public void addFile(VirtualFile file, java.lang.String branch, boolean recursive)
public void removeFile(VirtualFile file)
public MultiMap<java.lang.String,VirtualFile> getBranchToFileMap()
public boolean containsFile(VirtualFile file)
public java.lang.String getBranchForFile(VirtualFile file)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object