public abstract class AbstractInstallerCommand extends com.marklogic.client.ext.helper.LoggingObject implements InstallerCommand
Modifier and Type | Field and Description |
---|---|
protected HubConfigImpl |
hubConfig |
protected java.lang.String |
serverVersion |
Constructor and Description |
---|
AbstractInstallerCommand() |
Modifier and Type | Method and Description |
---|---|
protected com.fasterxml.jackson.databind.node.ObjectNode |
canInstallDhs() |
protected com.fasterxml.jackson.databind.node.ObjectNode |
canInstallDhs(java.lang.String installedHubVersion,
com.marklogic.hub.MarkLogicVersion mlVersion) |
protected java.lang.String |
getServerMajorVersion() |
protected java.io.File |
initializeProject(org.springframework.context.ApplicationContext context,
Options options,
java.util.Properties props)
The intended use case is that an installer command can be run from any directory, which means we need to first
initialize a DHF project (specifically, generating the gradle.properties file) and then refresh HubConfig based
on those properties and anything a client passed in via JVM props.
|
protected void |
verifyUserCanAuthenticate() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
run
protected HubConfigImpl hubConfig
protected java.lang.String serverVersion
protected java.io.File initializeProject(org.springframework.context.ApplicationContext context, Options options, java.util.Properties props)
options
- protected void verifyUserCanAuthenticate()
protected java.lang.String getServerMajorVersion()
protected com.fasterxml.jackson.databind.node.ObjectNode canInstallDhs()
protected com.fasterxml.jackson.databind.node.ObjectNode canInstallDhs(java.lang.String installedHubVersion, com.marklogic.hub.MarkLogicVersion mlVersion)