public interface CachingCommittedChangesProvider<T extends CommittedChangeList,U extends ChangeBrowserSettings> extends CommittedChangesProvider<T,U>
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getChangelistTitle()
Returns the name of the "changelist" concept in the specified VCS (changelist, revision etc.)
|
int |
getFormatVersion()
Returns the current version of the binary data format that is read/written by the caching provider.
|
default java.util.Collection<FilePath> |
getIncomingFiles(RepositoryLocation location)
Returns the list of files under the specified repository root which may contain incoming changes.
|
default boolean |
isChangeLocallyAvailable(FilePath filePath,
VcsRevisionNumber localRevision,
VcsRevisionNumber changeRevision,
T changeList) |
default boolean |
isMaxCountSupported()
Returns true if the underlying VCS allows to limit the number of loaded changes.
|
T |
readChangeList(RepositoryLocation location,
java.io.DataInput stream) |
default boolean |
refreshCacheByNumber()
Returns true if the changelist number restriction should be used when refreshing the cache,
or false if the date restriction should be used.
|
boolean |
refreshIncomingWithCommitted()
Returns true if a timer-based refresh of committed changes should be followed by refresh of incoming changes, so that,
for example, changes from the wrong branch would be automatically removed from view.
|
void |
writeChangeList(java.io.DataOutput stream,
T list) |
createActions, createDefaultSettings, createFilterUI, getColumns, getCommittedChanges, getForNonLocal, getLocationFor, getLocationFor, getOneList, getUnlimitedCountValue, getZipper, loadCommittedChanges, supportsIncomingChanges
int getFormatVersion()
void writeChangeList(java.io.DataOutput stream, T list) throws java.io.IOException
java.io.IOException
T readChangeList(RepositoryLocation location, java.io.DataInput stream) throws java.io.IOException
java.io.IOException
default boolean isMaxCountSupported()
default java.util.Collection<FilePath> getIncomingFiles(RepositoryLocation location) throws VcsException
location
- the location where changes are requested.VcsException
default boolean refreshCacheByNumber()
java.lang.String getChangelistTitle()
default boolean isChangeLocallyAvailable(FilePath filePath, VcsRevisionNumber localRevision, VcsRevisionNumber changeRevision, T changeList)
boolean refreshIncomingWithCommitted()