public interface VCSHistoryProvider
Modifier and Type | Interface and Description |
---|---|
static interface |
VCSHistoryProvider.HistoryChangeListener
Listener to changes in a versioning history
|
static class |
VCSHistoryProvider.HistoryEntry
A history entry (revision) in a versioning repository.
|
static class |
VCSHistoryProvider.HistoryEvent
Event notifying a change in the history of some files.
|
static interface |
VCSHistoryProvider.MessageEditProvider
Implement and pass over to
VCSHistoryProvider.HistoryEntry in case
VCSHistoryProvider.HistoryEntry.setMessage(java.lang.String)
is expected to work. |
static interface |
VCSHistoryProvider.ParentProvider
Implement and pass over to a
VCSHistoryProvider.HistoryEntry in case you want
VCSHistoryProvider.HistoryEntry.getParentEntry(VCSFileProxy) to return relevant values. |
static interface |
VCSHistoryProvider.RevisionProvider
Implement and pass over to
VCSHistoryProvider.HistoryEntry in case
VCSHistoryProvider.HistoryEntry.getRevisionFile(VCSFileProxy, VCSFileProxy)
is expected to work. |
Modifier and Type | Method and Description |
---|---|
void |
addHistoryChangeListener(VCSHistoryProvider.HistoryChangeListener l)
Adds a listener for history change events.
|
Action |
createShowHistoryAction(VCSFileProxy[] files)
Returns an action which is expected to open the particular versioning systems
history view.
|
VCSHistoryProvider.HistoryEntry[] |
getHistory(VCSFileProxy[] files,
Date fromDate)
Returns a list of all HistoryEntries for the given files ranging
between fromDate and now.
|
void |
removeHistoryChangeListener(VCSHistoryProvider.HistoryChangeListener l)
Removes a listener for history change events.
|
VCSHistoryProvider.HistoryEntry[] getHistory(VCSFileProxy[] files, Date fromDate)
files
- the files for which the history should be returnedfromDate
- timedate starting from which the history should be returnedAction createShowHistoryAction(VCSFileProxy[] files)
files
- the files for which the history view should be openedvoid addHistoryChangeListener(VCSHistoryProvider.HistoryChangeListener l)
l
- listenervoid removeHistoryChangeListener(VCSHistoryProvider.HistoryChangeListener l)
l
- listener