public final class LenskitInfo extends Object
Get access to general information about LensKit.
| Modifier and Type | Method and Description |
|---|---|
static String |
getHeadRevision()
Get the HEAD revision from which LensKit was built.
|
static Set<String> |
getRevisions()
Get the set of revisions LensKit is built from.
|
static boolean |
includesRevision(String revision)
Query whether this version of LensKit includes a particular revision.
|
static String |
lenskitVersion()
Get the current LensKit version.
|
@Nonnull public static Set<String> getRevisions()
Get the set of revisions LensKit is built from. This is in the order returned by git log, so the head revision is first.
public static boolean includesRevision(String revision)
Query whether this version of LensKit includes a particular revision.
revision - The revision to query.true if the LensKit source is descended from revision.@Nonnull public static String getHeadRevision()
Get the HEAD revision from which LensKit was built.