public interface HubConfigBuilder
HubConfig| Modifier and Type | Method and Description |
|---|---|
HubConfig |
build()
Builds the
HubConfig instance |
static HubConfigBuilder |
newHubConfigBuilder(java.lang.String projectDir)
Returns a new
HubConfigBuilder instance |
HubConfigBuilder |
withAdminConfig(com.marklogic.mgmt.admin.AdminConfig adminConfig)
Sets the
AdminConfig for the HubConfig |
HubConfigBuilder |
withAdminManager(com.marklogic.mgmt.admin.AdminManager adminManager)
Sets the
AdminManager for the HubConfig |
HubConfigBuilder |
withAppConfig(com.marklogic.appdeployer.AppConfig appConfig)
Sets the
AppConfig for the HubConfig |
HubConfigBuilder |
withManageClient(com.marklogic.mgmt.ManageClient manageClient)
Sets the
ManageClient for the HubConfig |
HubConfigBuilder |
withManageConfig(com.marklogic.mgmt.ManageConfig manageConfig)
Sets the
ManageConfig for the HubConfig |
HubConfigBuilder |
withProperties(java.util.Properties properties)
Tells the builder to use the given properties.
|
HubConfigBuilder |
withPropertiesFromEnvironment()
Tells the builder to load properties from the gradle files in the project dir
|
HubConfigBuilder |
withPropertiesFromEnvironment(java.lang.String environment)
Tells the builder to load properties from the gradle files in the project dir
but to look for an environment properties file with overrides
|
static HubConfigBuilder newHubConfigBuilder(java.lang.String projectDir)
HubConfigBuilder instanceprojectDir - - the hub's project directoryHubConfigBuilderHubConfigBuilder withPropertiesFromEnvironment()
HubConfigBuilder instanceHubConfigBuilder withPropertiesFromEnvironment(java.lang.String environment)
environment - - the name of the environment to use (local,dev,qa,prod,...)HubConfigBuilder instanceHubConfigBuilder withProperties(java.util.Properties properties)
properties - - A Properties object with properties setHubConfigBuilder instanceHubConfigBuilder withAppConfig(com.marklogic.appdeployer.AppConfig appConfig)
AppConfig for the HubConfigappConfig - - an AppConfig objectHubConfigBuilder instanceHubConfigBuilder withAdminConfig(com.marklogic.mgmt.admin.AdminConfig adminConfig)
AdminConfig for the HubConfigadminConfig - - an AdminConfig objectHubConfigBuilder instanceHubConfigBuilder withAdminManager(com.marklogic.mgmt.admin.AdminManager adminManager)
AdminManager for the HubConfigadminManager - - an AdminManager objectHubConfigBuilder instanceHubConfigBuilder withManageConfig(com.marklogic.mgmt.ManageConfig manageConfig)
ManageConfig for the HubConfigmanageConfig - - a ManageConfig objectHubConfigBuilder instanceHubConfigBuilder withManageClient(com.marklogic.mgmt.ManageClient manageClient)
ManageClient for the HubConfigmanageClient - - a ManageClientHubConfigBuilder instance