public class HistoryEntrySelector
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static HistoryEntrySelector |
CURRENT_REVISION |
static HistoryEntrySelector |
LATEST_REVISION |
static HistoryEntrySelector |
PREVIOUS_REVISION |
| Constructor and Description |
|---|
HistoryEntrySelector()
Constructs the history entry selector.
|
HistoryEntrySelector(java.lang.String revision)
Constructs the history entry selector for the given revision number.
|
| Modifier and Type | Method and Description |
|---|---|
HistoryEntry |
select(HistoryModel historyModel)
Selects a contextual entry from the history model.
|
public static final HistoryEntrySelector CURRENT_REVISION
public static final HistoryEntrySelector PREVIOUS_REVISION
public static final HistoryEntrySelector LATEST_REVISION
public HistoryEntrySelector()
public HistoryEntrySelector(java.lang.String revision)
revision - the revision number of the entry to select.public HistoryEntry select(HistoryModel historyModel)
historyModel - the history model.