public abstract class AbstractInstallerCommand extends com.marklogic.client.ext.helper.LoggingObject implements InstallerCommand
Modifier and Type | Field and Description |
---|---|
protected org.springframework.context.ApplicationContext |
context |
protected DataHubImpl |
dataHub |
protected HubConfigImpl |
hubConfig |
Constructor and Description |
---|
AbstractInstallerCommand() |
Modifier and Type | Method and Description |
---|---|
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 org.springframework.context.ApplicationContext context
protected HubConfigImpl hubConfig
protected DataHubImpl dataHub
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()