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 directoryHubConfigBuilder
HubConfigBuilder 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 HubConfig
appConfig
- - an AppConfig
objectHubConfigBuilder
instanceHubConfigBuilder withAdminConfig(com.marklogic.mgmt.admin.AdminConfig adminConfig)
AdminConfig
for the HubConfig
adminConfig
- - an AdminConfig
objectHubConfigBuilder
instanceHubConfigBuilder withAdminManager(com.marklogic.mgmt.admin.AdminManager adminManager)
AdminManager
for the HubConfig
adminManager
- - an AdminManager
objectHubConfigBuilder
instanceHubConfigBuilder withManageConfig(com.marklogic.mgmt.ManageConfig manageConfig)
ManageConfig
for the HubConfig
manageConfig
- - a ManageConfig
objectHubConfigBuilder
instanceHubConfigBuilder withManageClient(com.marklogic.mgmt.ManageClient manageClient)
ManageClient
for the HubConfig
manageClient
- - a ManageClient
HubConfigBuilder
instance