public class VersionCheck extends Object
Modifier and Type | Class and Description |
---|---|
static class |
VersionCheck.Detail
Detailed level for logging:
GAV: display group ID, artifact, version
GAVC: display group ID, artifact, version, commit ID
FULL: display group ID, artifact, version, commit ID, build time, branch, commit message
|
Modifier and Type | Field and Description |
---|---|
static String |
VERSION_CHECK_PROPERTY
Setting the system property to false will stop ND4J from performing the version check, and logging any
warnings/errors.
|
Modifier and Type | Method and Description |
---|---|
static void |
checkVersions()
Perform a check of the versions of ND4J, DL4J, DataVec, RL4J and Arbiter dependencies, logging a warning
if necessary.
|
static List<VersionInfo> |
getVersionInfos() |
static List<String> |
listGitPropertiesFiles() |
static void |
logVersionInfo()
Log of the version information with the default level of detail
|
static void |
logVersionInfo(VersionCheck.Detail detail)
Log the version information with the specified level of detail
|
static String |
versionInfoString() |
static String |
versionInfoString(VersionCheck.Detail detail)
Get the version information for dependencies as a string with a specified amount of detail
|
public static final String VERSION_CHECK_PROPERTY
public static void checkVersions()
public static List<String> listGitPropertiesFiles()
public static List<VersionInfo> getVersionInfos()
public static String versionInfoString()
public static String versionInfoString(VersionCheck.Detail detail)
detail
- Detail level for the version information. See VersionCheck.Detail
public static void logVersionInfo()
public static void logVersionInfo(VersionCheck.Detail detail)
detail
- Level of detail for loggingCopyright © 2017. All rights reserved.