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 |
GIT_PROPERTY_FILE_SUFFIX |
static String |
PROPERTIES_FILE_SUFFIX |
static String |
VERSION_CHECK_PROPERTY
Deprecated.
Use
ND4JSystemProperties.VERSION_CHECK_PROPERTY |
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<URI> |
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
|
@Deprecated public static final String VERSION_CHECK_PROPERTY
ND4JSystemProperties.VERSION_CHECK_PROPERTY
public static final String GIT_PROPERTY_FILE_SUFFIX
public static final String PROPERTIES_FILE_SUFFIX
public static void checkVersions()
public static List<URI> 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 © 2019. All rights reserved.