public final class LenskitInfo
extends java.lang.Object
Get access to general information about LensKit.
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getHeadRevision()
Get the HEAD revision from which LensKit was built.
|
static java.util.Set<java.lang.String> |
getRevisions()
Get the set of revisions LensKit is built from.
|
static boolean |
includesRevision(java.lang.String revision)
Query whether this version of LensKit includes a particular revision.
|
static java.lang.String |
lenskitVersion()
Get the current LensKit version.
|
@Nonnull public static java.util.Set<java.lang.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(java.lang.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 java.lang.String getHeadRevision()
Get the HEAD revision from which LensKit was built.
@Nonnull public static java.lang.String lenskitVersion()
Get the current LensKit version.