@Component
public class Versions
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
Versions.MarkLogicVersion |
Constructor and Description |
---|
Versions() |
Versions(com.marklogic.appdeployer.AppConfig appConfig)
Needed for the Gradle tasks.
|
Versions(HubConfig hubConfig)
Needed for the Gradle tasks.
|
Modifier and Type | Method and Description |
---|---|
static int |
compare(java.lang.String v1,
java.lang.String v2) |
java.lang.String |
getDHFVersion() |
java.lang.String |
getHubVersion() |
java.lang.String |
getMarkLogicVersion() |
java.lang.String |
getMarkLogicVersion(com.marklogic.appdeployer.AppConfig appConfig) |
Versions.MarkLogicVersion |
getMLVersion() |
Versions.MarkLogicVersion |
getMLVersion(java.lang.String versionString) |
boolean |
isVersionCompatibleWithES() |
public Versions()
public Versions(HubConfig hubConfig)
hubConfig
- HubConfigpublic Versions(com.marklogic.appdeployer.AppConfig appConfig)
appConfig
- AppConfigpublic java.lang.String getDHFVersion()
public java.lang.String getHubVersion()
public java.lang.String getMarkLogicVersion()
public java.lang.String getMarkLogicVersion(com.marklogic.appdeployer.AppConfig appConfig)
public Versions.MarkLogicVersion getMLVersion()
public Versions.MarkLogicVersion getMLVersion(java.lang.String versionString)
public boolean isVersionCompatibleWithES()
public static int compare(java.lang.String v1, java.lang.String v2)