public interface ChangelistBuilder
Modifier and Type | Method and Description |
---|---|
void |
processChange(Change change,
VcsKey vcsKey)
Process a change to the file.
|
void |
processChangeInList(Change change,
ChangeList changeList,
VcsKey vcsKey) |
void |
processChangeInList(Change change,
java.lang.String changeListName,
VcsKey vcsKey)
Put the given change into the change list with the given name.
|
void |
processIgnoredFile(FilePath filePath) |
default void |
processIgnoredFile(VirtualFile file)
Deprecated.
use
processIgnoredFile(FilePath) instead |
void |
processLocallyDeletedFile(FilePath file)
Process a file that was deleted locally, but version
control has not been notified about removal yet.
|
void |
processLocallyDeletedFile(LocallyDeletedChange locallyDeletedChange) |
void |
processLockedFolder(VirtualFile file)
technically locked folder (for Subversion: locked in working copy to keep WC's state consistent)
|
void |
processLogicallyLockedFolder(VirtualFile file,
LogicalLock logicalLock)
Logically locked file: (in repository) in lock-modify-unlock model
|
void |
processModifiedWithoutCheckout(VirtualFile file)
Process the file that was modified without explicit checkout
(if version control supports such behavior).
|
void |
processRootSwitch(VirtualFile file,
java.lang.String branch) |
void |
processSwitchedFile(VirtualFile file,
java.lang.String branch,
boolean recursive)
Report a file which has been updated to a branch other than that of the files around it
("switched").
|
void |
processUnversionedFile(FilePath filePath) |
default void |
processUnversionedFile(VirtualFile file)
Deprecated.
use
processUnversionedFile(FilePath) instead |
void |
removeRegisteredChangeFor(FilePath path) |
void |
reportAdditionalInfo(Factory<javax.swing.JComponent> infoComponent) |
void |
reportAdditionalInfo(java.lang.String text) |
boolean |
reportChangesOutsideProject() |
void processChange(Change change, VcsKey vcsKey)
change
- a change to process.vcsKey
- void processChangeInList(Change change, ChangeList changeList, VcsKey vcsKey)
void processChangeInList(Change change, java.lang.String changeListName, VcsKey vcsKey)
change
- Submitted changechangeListName
- A name for a change list.vcsKey
- void removeRegisteredChangeFor(FilePath path)
@Deprecated default void processUnversionedFile(VirtualFile file)
processUnversionedFile(FilePath)
insteadfile
- a file to processvoid processUnversionedFile(FilePath filePath)
void processLocallyDeletedFile(FilePath file)
file
- a file to processvoid processLocallyDeletedFile(LocallyDeletedChange locallyDeletedChange)
void processModifiedWithoutCheckout(VirtualFile file)
file
- a file to process@Deprecated default void processIgnoredFile(VirtualFile file)
processIgnoredFile(FilePath)
insteadfile
- an ignored filevoid processIgnoredFile(FilePath filePath)
void processLockedFolder(VirtualFile file)
void processLogicallyLockedFolder(VirtualFile file, LogicalLock logicalLock)
void processSwitchedFile(VirtualFile file, java.lang.String branch, boolean recursive)
processChange(com.intellij.openapi.vcs.changes.Change, com.intellij.openapi.vcs.VcsKey)
) can also be reported as switched.file
- the switched filebranch
- the name of the branch to which the file is switched.recursive
- if true, all subdirectories of file are also marked as switched to that branchvoid processRootSwitch(VirtualFile file, java.lang.String branch)
boolean reportChangesOutsideProject()
void reportAdditionalInfo(java.lang.String text)
void reportAdditionalInfo(Factory<javax.swing.JComponent> infoComponent)