public class EmptyChangelistBuilder extends java.lang.Object implements ChangelistBuilder
Constructor and Description |
---|
EmptyChangelistBuilder() |
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 file) |
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 file) |
void |
removeRegisteredChangeFor(FilePath path) |
void |
reportAdditionalInfo(Factory<javax.swing.JComponent> infoComponent) |
void |
reportAdditionalInfo(java.lang.String text) |
boolean |
reportChangesOutsideProject() |
void |
reportWarningMessage(java.lang.String message) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
processIgnoredFile, processUnversionedFile
public void processChange(Change change, VcsKey vcsKey)
ChangelistBuilder
processChange
in interface ChangelistBuilder
change
- a change to process.public void processChangeInList(Change change, ChangeList changeList, VcsKey vcsKey)
processChangeInList
in interface ChangelistBuilder
public void processChangeInList(Change change, java.lang.String changeListName, VcsKey vcsKey)
ChangelistBuilder
processChangeInList
in interface ChangelistBuilder
change
- Submitted changechangeListName
- A name for a change list.public void removeRegisteredChangeFor(FilePath path)
removeRegisteredChangeFor
in interface ChangelistBuilder
public void processUnversionedFile(FilePath file)
processUnversionedFile
in interface ChangelistBuilder
public void processLocallyDeletedFile(FilePath file)
ChangelistBuilder
processLocallyDeletedFile
in interface ChangelistBuilder
file
- a file to processpublic void processLocallyDeletedFile(LocallyDeletedChange locallyDeletedChange)
processLocallyDeletedFile
in interface ChangelistBuilder
public void processModifiedWithoutCheckout(VirtualFile file)
ChangelistBuilder
processModifiedWithoutCheckout
in interface ChangelistBuilder
file
- a file to processpublic void processIgnoredFile(FilePath file)
processIgnoredFile
in interface ChangelistBuilder
public void processLockedFolder(VirtualFile file)
ChangelistBuilder
processLockedFolder
in interface ChangelistBuilder
public void processLogicallyLockedFolder(VirtualFile file, LogicalLock logicalLock)
ChangelistBuilder
processLogicallyLockedFolder
in interface ChangelistBuilder
public void processSwitchedFile(VirtualFile file, java.lang.String branch, boolean recursive)
ChangelistBuilder
ChangelistBuilder.processChange(com.intellij.openapi.vcs.changes.Change, com.intellij.openapi.vcs.VcsKey)
) can also be reported as switched.processSwitchedFile
in interface ChangelistBuilder
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 branchpublic void processRootSwitch(VirtualFile file, java.lang.String branch)
processRootSwitch
in interface ChangelistBuilder
public boolean reportChangesOutsideProject()
reportChangesOutsideProject
in interface ChangelistBuilder
public void reportAdditionalInfo(java.lang.String text)
reportAdditionalInfo
in interface ChangelistBuilder
public void reportAdditionalInfo(Factory<javax.swing.JComponent> infoComponent)
reportAdditionalInfo
in interface ChangelistBuilder
public void reportWarningMessage(java.lang.String message)