public class LocalChangesUnderRoots
extends java.lang.Object
Constructor and Description |
---|
LocalChangesUnderRoots(ChangeListManager changeListManager,
ProjectLevelVcsManager projectLevelVcsManager) |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.util.Map<VirtualFile,java.util.Collection<Change>>> |
getChangesByLists(java.util.Collection<? extends VirtualFile> rootsToSave) |
java.util.Map<VirtualFile,java.util.Collection<Change>> |
getChangesUnderRoots(java.util.Collection<? extends VirtualFile> rootsToSave)
Sort all changes registered in the
ChangeListManager by VCS roots,
filtering out any roots except the specified ones. |
public LocalChangesUnderRoots(ChangeListManager changeListManager, ProjectLevelVcsManager projectLevelVcsManager)
public java.util.Map<java.lang.String,java.util.Map<VirtualFile,java.util.Collection<Change>>> getChangesByLists(java.util.Collection<? extends VirtualFile> rootsToSave)
public java.util.Map<VirtualFile,java.util.Collection<Change>> getChangesUnderRoots(java.util.Collection<? extends VirtualFile> rootsToSave)
ChangeListManager
by VCS roots,
filtering out any roots except the specified ones.rootsToSave
- roots to search for changes only in them.changes
from these roots.