| Modifier and Type | Field and Description | 
|---|---|
protected java.lang.String | 
customForestPath  | 
protected java.lang.String | 
finalAuthMethod  | 
protected java.lang.String | 
finalDbName  | 
protected java.lang.Integer | 
finalForestsPerHost  | 
protected java.lang.String | 
finalHttpName  | 
protected java.lang.Integer | 
finalPort  | 
protected java.lang.String | 
finalSchemasDbName  | 
protected java.lang.Integer | 
finalSchemasForestsPerHost  | 
protected java.lang.String | 
finalTriggersDbName  | 
protected java.lang.Integer | 
finalTriggersForestsPerHost  | 
protected java.lang.String | 
host  | 
protected java.lang.String | 
jobAuthMethod  | 
protected java.lang.String | 
jobDbName  | 
protected java.lang.Integer | 
jobForestsPerHost  | 
protected java.lang.String | 
jobHttpName  | 
protected java.lang.Integer | 
jobPort  | 
protected java.lang.String | 
modulePermissions  | 
protected java.lang.String | 
modulesDbName  | 
protected java.lang.Integer | 
modulesForestsPerHost  | 
protected java.lang.String | 
stagingAuthMethod  | 
protected java.lang.String | 
stagingDbName  | 
protected java.lang.Integer | 
stagingForestsPerHost  | 
protected java.lang.String | 
stagingHttpName  | 
protected java.lang.Integer | 
stagingPort  | 
protected java.lang.String | 
stagingSchemasDbName  | 
protected java.lang.Integer | 
stagingSchemasForestsPerHost  | 
protected java.lang.String | 
stagingTriggersDbName  | 
protected java.lang.Integer | 
stagingTriggersForestsPerHost  | 
DEFAULT_AUTH_METHOD, DEFAULT_CUSTOM_FOREST_PATH, DEFAULT_DEVELOPER_ROLE_NAME, DEFAULT_DEVELOPER_USER_NAME, DEFAULT_FINAL_NAME, DEFAULT_FINAL_PORT, DEFAULT_FINAL_SCHEMAS_DB_NAME, DEFAULT_FINAL_TRIGGERS_DB_NAME, DEFAULT_FORESTS_PER_HOST, DEFAULT_HUB_LOG_LEVEL, DEFAULT_JOB_NAME, DEFAULT_JOB_PORT, DEFAULT_MODULES_DB_NAME, DEFAULT_ROLE_NAME, DEFAULT_SCHEME, DEFAULT_STAGING_NAME, DEFAULT_STAGING_PORT, DEFAULT_STAGING_SCHEMAS_DB_NAME, DEFAULT_STAGING_TRIGGERS_DB_NAME, DEFAULT_USER_NAME, ENTITY_CONFIG_DIR, EXP_FINAL_ENTITY_QUERY_OPTIONS_FILE, EXP_STAGING_ENTITY_QUERY_OPTIONS_FILE, FINAL_ENTITY_DATABASE_FILE, FINAL_ENTITY_QUERY_OPTIONS_FILE, HUB_CONFIG_DIR, HUB_MODULES_DEPLOY_TIMESTAMPS_PROPERTIES, PATH_PREFIX, PII_PROTECTED_PATHS_FILE, PII_QUERY_ROLESET_FILE, STAGING_ENTITY_DATABASE_FILE, STAGING_ENTITY_QUERY_OPTIONS_FILE, USER_CONFIG_DIR, USER_CONTENT_DEPLOY_TIMESTAMPS_PROPERTIES, USER_MODULES_DEPLOY_TIMESTAMPS_PROPERTIES| Constructor and Description | 
|---|
HubConfigImpl()
No-arg constructor that does not initialize any HubConfigImpl property values. 
 | 
HubConfigImpl(HubProject hubProject,
             org.springframework.core.env.Environment environment)
Constructor for when using this object outside of a Spring container, but a HubProject and Spring Environment are
 still needed. 
 | 
HubConfigImpl(java.lang.String host,
             java.lang.String mlUsername,
             java.lang.String mlPassword)
Provides a minimally-configured instance of HubConfigImpl based on DHF default properties, with no dependency
 on Spring or on project files. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
protected void | 
addDhfPropertiesToCustomTokens(com.marklogic.appdeployer.AppConfig appConfig)
Populates the custom tokens map in the given AppConfig object. 
 | 
void | 
applyDefaultProperties()
When this class is not used in a Spring environment, this method is used to apply properties for the
 dhf-defaults.properties file to initialize an instance of this class. 
 | 
void | 
applyProperties(com.marklogic.mgmt.util.PropertySource propertySource)
Applies properties in the given property source to this instance. 
 | 
void | 
createProject(java.lang.String projectDirString)
Initializes the java application state to a specific location. 
 | 
com.marklogic.mgmt.admin.AdminConfig | 
getAdminConfig()  | 
com.marklogic.mgmt.admin.AdminManager | 
getAdminManager()  | 
com.marklogic.appdeployer.AppConfig | 
getAppConfig()
Returns the current AppConfig object attached to the HubConfig 
 | 
java.lang.String | 
getAuthMethod(DatabaseKind kind)
Returns the AuthMethod object for the DatabaseKind in the hub config 
 | 
java.lang.String | 
getCertFile(DatabaseKind kind)
Returns the SSL Cert file as a string for the DatabaseKind in the hub config 
 | 
java.lang.String | 
getCertPassword(DatabaseKind kind)
Returns the SSL Cert Password as a string for the DatabaseKind in the hub config 
 | 
java.lang.String | 
getCustomForestPath()
Returns the path for the custom forests definition 
 | 
java.lang.String | 
getDbName(DatabaseKind kind)
Returns the database name for the DatabaseKind set in the config 
 | 
java.lang.String | 
getDHFVersion()
Gets the current version of the project properties file is targeting 
 | 
java.nio.file.Path | 
getEntityDatabaseDir()
Gets the path for the entity database directory 
 | 
java.lang.String | 
getEntityModelPermissions()
Prior to 5.1.0, entities were assigned permissions returned by getModulePermissions. 
 | 
java.lang.String | 
getExternalName(DatabaseKind kind)
Returns the external name for the host for the DatabaseKind in the hub config 
 | 
java.lang.String | 
getFlowDeveloperRoleName()
Get the roleName the hub uses for developing flows 
 | 
java.lang.String | 
getFlowDeveloperUserName()
Get the current marklogic user name the hub uses to develop flows 
 | 
java.lang.String | 
getFlowOperatorRoleName()
Get the roleName the hub uses 
 | 
java.lang.String | 
getFlowOperatorUserName()
Get the current marklogic user name the hub uses 
 | 
java.lang.String | 
getFlowPermissions()
Prior to 5.2.0, entities were assigned permissions returned by getModulePermissions. 
 | 
java.nio.file.Path | 
getFlowsDir()
Gets the path for the flows directory 
 | 
java.lang.Integer | 
getForestsPerHost(DatabaseKind kind)
Returns the number of forests per host for the DatabaseKind set in the config 
 | 
java.lang.String | 
getHost()
Gets the hostname of the AppConfig 
 | 
java.lang.String | 
getHttpName(DatabaseKind kind)
Returns the appserver name for the DatabaseKind set in the config 
 | 
java.nio.file.Path | 
getHubConfigDir()
Gets the path for the hub's config directory 
 | 
java.nio.file.Path | 
getHubDatabaseDir()
Gets the path for the hub's database directory 
 | 
java.nio.file.Path | 
getHubEntitiesDir()
Gets the path for the hub entities directory 
 | 
java.lang.String | 
getHubLogLevel()
Gets the current level of logging set for the data hub 
 | 
java.nio.file.Path | 
getHubMappingsDir()
Gets the path for the hub mappings directory 
 | 
java.lang.String | 
getHubModulesDeployTimestampFile()
Deprecated.  
 | 
java.nio.file.Path | 
getHubPluginsDir()
Gets the path for the hub plugins directory 
 | 
HubProject | 
getHubProject()
Returns the HubProject associated with the HubConfig 
 | 
java.nio.file.Path | 
getHubProjectDir()  | 
java.nio.file.Path | 
getHubSecurityDir()
Gets the path for the hub's security directory 
 | 
java.nio.file.Path | 
getHubServersDir()
Gets the path for the hub servers directory 
 | 
java.lang.String | 
getInfo()
Gets information on a datahub configuration 
 | 
java.lang.Boolean | 
getIsHostLoadBalancer()
Signifies if the host is a load balancer host. 
 | 
java.lang.Boolean | 
getIsProvisionedEnvironment()
Signifies if we are dealing with a provisioned environment. 
 | 
java.lang.String | 
getJarVersion()
Gets the current version of the DHF Jar 
 | 
java.lang.String | 
getJobPermissions()  | 
java.lang.String | 
getLoadBalancerHost()
Gets a string of load balancer host 
 | 
com.marklogic.mgmt.ManageClient | 
getManageClient()  | 
com.marklogic.mgmt.ManageConfig | 
getManageConfig()  | 
java.lang.String | 
getMappingPermissions()
Prior to 5.2.0, entities were assigned permissions returned by getModulePermissions. 
 | 
java.lang.String | 
getMlPassword()  | 
java.lang.String | 
getMlUsername()  | 
java.lang.String | 
getModulePermissions()
Gets the permissions used to execute a module in string form 
 | 
java.nio.file.Path | 
getModulesDir()
Gets the path for the modules directory 
 | 
java.lang.Integer | 
getPort(DatabaseKind kind)
Returns the port number for the DatabaseKind set in the config 
 | 
java.lang.String | 
getProjectDir()
Deprecated.  
 | 
java.lang.String | 
getScheme(DatabaseKind kind)
Deprecated.  
 | 
boolean | 
getSimpleSsl(DatabaseKind kind)
Returns if Simple SSL is set for the DatabaseKind in the hub config 
 | 
javax.net.ssl.SSLContext | 
getSslContext(DatabaseKind kind)
Returns the SSL Context for the DatabaseKind set in the config 
 | 
com.marklogic.client.DatabaseClientFactory.SSLHostnameVerifier | 
getSslHostnameVerifier(DatabaseKind kind)
Returns the SSL hostname verifier object for the DatabaseKind in the hub config 
 | 
java.lang.String | 
getStagingSchemasDbName()  | 
java.lang.String | 
getStagingTriggersDbName()  | 
java.lang.String | 
getStepDefinitionPermissions()
Prior to 5.2.0, entities were assigned permissions returned by getModulePermissions. 
 | 
java.nio.file.Path | 
getStepDefinitionsDir()
Gets the path for the step definitions directory 
 | 
java.nio.file.Path | 
getStepsDirByType(StepDefinition.StepDefinitionType type)  | 
javax.net.ssl.X509TrustManager | 
getTrustManager(DatabaseKind kind)
Returns the TrustManager object for the DatabaseKind in the hub config 
 | 
java.nio.file.Path | 
getUserConfigDir()
Gets the path for the user config directory 
 | 
java.nio.file.Path | 
getUserDatabaseDir()
Gets the path for the user database directory 
 | 
java.lang.String | 
getUserModulesDeployTimestampFile()
Deprecated.  
 | 
java.nio.file.Path | 
getUserSchemasDir()
Gets the path for the user schemas directory 
 | 
java.nio.file.Path | 
getUserSecurityDir()
Gets the path for the user security directory 
 | 
java.nio.file.Path | 
getUserServersDir()
Gets the path for the user servers directory 
 | 
protected void | 
hydrateAppConfigs(java.util.Properties properties)  | 
void | 
hydrateConfigs()
After setting properties, this method must be invoked to instantiate SSL objects in case any of the SSL-related
 properties have been set to true. 
 | 
void | 
initHubProject()
Initializes the hub project on disk 
 | 
protected void | 
initializeConfigDirs(com.marklogic.appdeployer.AppConfig config)
ml-app-deployer defaults to a single config path of src/main/ml-config. 
 | 
protected void | 
initializeModulePaths(com.marklogic.appdeployer.AppConfig config)
Need to initialize every module path as being relative to the current project directory. 
 | 
protected void | 
initializePropertyConsumerMap()
Defines functions for consuming properties from a PropertySource. 
 | 
void | 
loadConfigurationFromProperties(java.util.Properties properties,
                               boolean loadGradleProperties)
Expected to be used when an instance of this class is managed by a Spring container, as it depends on a Spring
 environment object being set. 
 | 
com.marklogic.client.DatabaseClient | 
newAppServicesClient()
Creates a new DatabaseClient for accessing the AppServices app 
 | 
com.marklogic.client.DatabaseClient | 
newFinalClient()
Gets a new DatabaseClient that queries the Final database using the final appserver. 
 | 
com.marklogic.client.DatabaseClient | 
newJobDbClient()
Creates a new DatabaseClient for accessing the Job database 
 | 
com.marklogic.client.DatabaseClient | 
newModulesDbClient()
Creates a new DatabaseClient for accessing the Hub Modules database 
 | 
com.marklogic.client.DatabaseClient | 
newReverseFlowClient()
Gets a new DatabaseClient that queries the Final database using the staging appserver. 
 | 
com.marklogic.client.DatabaseClient | 
newStagingClient()
Gets a new DatabaseClient that queries the staging database and appserver 
 | 
com.marklogic.client.DatabaseClient | 
newStagingClient(java.lang.String dbName)
Gets a new DatabaseClient that queries the staging database and appserver 
 | 
com.marklogic.client.DatabaseClient | 
newTraceDbClient()
Use newJobDbClient instead. 
 | 
void | 
refreshProject()
Loads HubConfig object with values from gradle.properties (optionally overridden with
 gradle-(environment).properties). 
 | 
protected HubProject | 
requireHubProject()  | 
void | 
resetAppConfigs()  | 
void | 
resetHubConfigs()  | 
void | 
setAdminConfig(com.marklogic.mgmt.admin.AdminConfig adminConfig)  | 
void | 
setAdminManager(com.marklogic.mgmt.admin.AdminManager adminManager)  | 
void | 
setAppConfig(com.marklogic.appdeployer.AppConfig config)
Sets the AppConfig for the current HubConfig 
 | 
void | 
setAppConfig(com.marklogic.appdeployer.AppConfig config,
            boolean skipUpdate)
Sets the AppConfig for the current HubConfig, with skipUpdate option 
 | 
void | 
setAuthMethod(DatabaseKind kind,
             java.lang.String authMethod)
Sets the SSL Auth Method for the DatabaseKind in the config 
 | 
void | 
setCertFile(DatabaseKind kind,
           java.lang.String certFile)
Sets the SSL Certfile to use for the DatabaseKind in the config 
 | 
void | 
setCertPass(DatabaseKind kind,
           java.lang.String certPassword)
Sets the SSL Cert password for the DatabaseKind in the config 
 | 
void | 
setCustomForestPath(java.lang.String customForestPath)  | 
void | 
setDbName(DatabaseKind kind,
         java.lang.String dbName)
Sets the database name for the databaseKind on the hubconfig 
 | 
void | 
setEntityModelPermissions(java.lang.String entityModelPermissions)  | 
void | 
setExternalName(DatabaseKind kind,
               java.lang.String externalName)
Sets the external hostname for the DatabaseKind in the config 
 | 
void | 
setFlowDeveloperRoleName(java.lang.String flowDeveloperRoleName)
Set the role name that the hub uses for developing flows 
 | 
void | 
setFlowDeveloperUserName(java.lang.String flowDeveloperUserName)
Sets the username for the hub to use in MarkLogic for developing flows 
 | 
void | 
setFlowOperatorRoleName(java.lang.String flowOperatorRoleName)
Set the role name that the hub uses 
 | 
void | 
setFlowOperatorUserName(java.lang.String flowOperatorUserName)
Sets the username for the hub to use in MarkLogic 
 | 
void | 
setFlowPermissions(java.lang.String flowPermissions)  | 
void | 
setForestsPerHost(DatabaseKind kind,
                 java.lang.Integer forestsPerHost)
Sets the number of forests per host for the databaseKind on the hubconfig 
 | 
void | 
setHost(java.lang.String host)  | 
void | 
setHttpName(DatabaseKind kind,
           java.lang.String httpName)
Sets the appserver name for the databaseKind on the hubconfig 
 | 
void | 
setIsProvisionedEnvironment(boolean isProvisionedEnvironment)  | 
void | 
setJobPermissions(java.lang.String jobPermissions)  | 
void | 
setLoadBalancerHost(java.lang.String loadBalancerHost)  | 
void | 
setManageClient(com.marklogic.mgmt.ManageClient manageClient)  | 
void | 
setManageConfig(com.marklogic.mgmt.ManageConfig manageConfig)  | 
void | 
setMappingPermissions(java.lang.String mappingPermissions)  | 
void | 
setMlPassword(java.lang.String mlPassword)  | 
void | 
setMlUsername(java.lang.String mlUsername)  | 
void | 
setModulePermissions(java.lang.String modulePermissions)  | 
void | 
setPort(DatabaseKind kind,
       java.lang.Integer port)
Sets the port number for the databaseKind on the hubconfig 
 | 
void | 
setProjectDir(java.lang.String projectDir)
Deprecated.  
 | 
void | 
setScheme(DatabaseKind kind,
         java.lang.String scheme)
Deprecated.  
 | 
void | 
setSimpleSsl(DatabaseKind kind,
            java.lang.Boolean simpleSsl)
Sets if Simple SSL is to be used for the DatabaseKind in the config 
 | 
void | 
setSslContext(DatabaseKind kind,
             javax.net.ssl.SSLContext sslContext)
Sets the SSL Context for the DatabaseKind in the config 
 | 
void | 
setSslHostnameVerifier(DatabaseKind kind,
                      com.marklogic.client.DatabaseClientFactory.SSLHostnameVerifier sslHostnameVerifier)
Sets the SSL Hostname Verifier object for the DatabaseKind in the config 
 | 
void | 
setStepDefinitionPermissions(java.lang.String stepDefinitionPermissions)  | 
void | 
setTrustManager(DatabaseKind kind,
               javax.net.ssl.X509TrustManager trustManager)
Sets the Trust Manager for the DatabaseKind in the config 
 | 
java.lang.String | 
toString()  | 
static HubConfigImpl | 
withDefaultProperties()
Static method for a new instance of HubConfigImpl based on default DHF property values with no dependency on
 Spring or on project files. 
 | 
HubConfig | 
withPropertiesFromEnvironment(java.lang.String environment)
It is not expected that a client would use this, as it would be partially re-inventing what the Gradle
 properties plugin does. 
 | 
protected java.lang.String host
protected java.lang.String stagingDbName
protected java.lang.String stagingHttpName
protected java.lang.Integer stagingForestsPerHost
protected java.lang.Integer stagingPort
protected java.lang.String stagingAuthMethod
protected java.lang.String finalDbName
protected java.lang.String finalHttpName
protected java.lang.Integer finalForestsPerHost
protected java.lang.Integer finalPort
protected java.lang.String finalAuthMethod
protected java.lang.String jobDbName
protected java.lang.String jobHttpName
protected java.lang.Integer jobForestsPerHost
protected java.lang.Integer jobPort
protected java.lang.String jobAuthMethod
protected java.lang.String modulesDbName
protected java.lang.Integer modulesForestsPerHost
protected java.lang.String stagingTriggersDbName
protected java.lang.Integer stagingTriggersForestsPerHost
protected java.lang.String finalTriggersDbName
protected java.lang.Integer finalTriggersForestsPerHost
protected java.lang.String stagingSchemasDbName
protected java.lang.Integer stagingSchemasForestsPerHost
protected java.lang.String finalSchemasDbName
protected java.lang.Integer finalSchemasForestsPerHost
protected java.lang.String customForestPath
protected java.lang.String modulePermissions
public HubConfigImpl()
public HubConfigImpl(HubProject hubProject, org.springframework.core.env.Environment environment)
hubProject - environment - public HubConfigImpl(java.lang.String host,
                     java.lang.String mlUsername,
                     java.lang.String mlPassword)
host - mlUsername - mlPassword - public static HubConfigImpl withDefaultProperties()
public void applyDefaultProperties()
public void applyProperties(com.marklogic.mgmt.util.PropertySource propertySource)
propertySource - protected HubProject requireHubProject()
public void createProject(java.lang.String projectDirString)
HubConfigcreateProject in interface HubConfigprojectDirString - The directory in which to find properties for a project.public java.lang.String getHost()
HubConfigpublic java.lang.String getDbName(DatabaseKind kind)
HubConfigpublic void setDbName(DatabaseKind kind, java.lang.String dbName)
HubConfigpublic java.lang.String getHttpName(DatabaseKind kind)
HubConfiggetHttpName in interface HubConfigkind - - DatabaseKind enum, eg: STAGING or JOBpublic void setHttpName(DatabaseKind kind, java.lang.String httpName)
HubConfigsetHttpName in interface HubConfighttpName - The name to set for the appserverpublic java.lang.Integer getForestsPerHost(DatabaseKind kind)
HubConfiggetForestsPerHost in interface HubConfigkind - - DatabaseKind enum, eg: STAGING or JOBpublic void setForestsPerHost(DatabaseKind kind, java.lang.Integer forestsPerHost)
HubConfigsetForestsPerHost in interface HubConfigforestsPerHost - The number of forests per hostpublic java.lang.Integer getPort(DatabaseKind kind)
HubConfigpublic void setPort(DatabaseKind kind, java.lang.Integer port)
HubConfigpublic javax.net.ssl.SSLContext getSslContext(DatabaseKind kind)
HubConfiggetSslContext in interface HubConfigkind - - DatabaseKind enum, eg: STAGING or JOBpublic void setSslContext(DatabaseKind kind, javax.net.ssl.SSLContext sslContext)
HubConfigsetSslContext in interface HubConfigkind - - DatabaseKind enum, eg: STAGING or JOBsslContext - - The SSLContext set for the database connectionpublic com.marklogic.client.DatabaseClientFactory.SSLHostnameVerifier getSslHostnameVerifier(DatabaseKind kind)
HubConfiggetSslHostnameVerifier in interface HubConfigkind - - DatabaseKind enum, eg: STAGING or JOBpublic void setSslHostnameVerifier(DatabaseKind kind, com.marklogic.client.DatabaseClientFactory.SSLHostnameVerifier sslHostnameVerifier)
HubConfigsetSslHostnameVerifier in interface HubConfigkind - - DatabaseKind enum, eg: STAGING or JOBsslHostnameVerifier - - The SSL Hostname Verifier object for the database connectionpublic java.lang.String getAuthMethod(DatabaseKind kind)
HubConfiggetAuthMethod in interface HubConfigkind - - DatabaseKind enum, eg: STAGING or JOBpublic void setAuthMethod(DatabaseKind kind, java.lang.String authMethod)
HubConfigsetAuthMethod in interface HubConfigkind - - DatabaseKind enum, eg: STAGING or JOBauthMethod - - The SSL Auth Method for the database connectionpublic javax.net.ssl.X509TrustManager getTrustManager(DatabaseKind kind)
HubConfiggetTrustManager in interface HubConfigkind - - DatabaseKind enum, eg: STAGING or JOBpublic void setTrustManager(DatabaseKind kind, javax.net.ssl.X509TrustManager trustManager)
HubConfigsetTrustManager in interface HubConfigkind - - DatabaseKind enum, eg: STAGING or JOBtrustManager - - The Trust Manager for the database connection@Deprecated public java.lang.String getScheme(DatabaseKind kind)
HubConfig@Deprecated public void setScheme(DatabaseKind kind, java.lang.String scheme)
HubConfigpublic boolean getSimpleSsl(DatabaseKind kind)
HubConfiggetSimpleSsl in interface HubConfigkind - - DatabaseKind enum, eg: STAGING or JOBpublic void setSimpleSsl(DatabaseKind kind, java.lang.Boolean simpleSsl)
HubConfigsetSimpleSsl in interface HubConfigkind - - DatabaseKind enum, eg: STAGING or JOBpublic java.lang.String getCertFile(DatabaseKind kind)
HubConfiggetCertFile in interface HubConfigkind - - DatabaseKind enum, eg: STAGING or JOBpublic void setCertFile(DatabaseKind kind, java.lang.String certFile)
HubConfigsetCertFile in interface HubConfigkind - - DatabaseKind enum, eg: STAGING or JOBcertFile - - The SSL Cert File as a string to be used for the database connectionpublic java.lang.String getCertPassword(DatabaseKind kind)
HubConfiggetCertPassword in interface HubConfigkind - - DatabaseKind enum, eg: STAGING or JOBpublic void setCertPass(DatabaseKind kind, java.lang.String certPassword)
HubConfigsetCertPass in interface HubConfigkind - - DatabaseKind enum, eg: STAGING or JOBcertPassword - - The SSL certificate password for the database connectionpublic java.lang.String getExternalName(DatabaseKind kind)
HubConfiggetExternalName in interface HubConfigkind - - DatabaseKind enum, eg: STAGING or JOBpublic void setExternalName(DatabaseKind kind, java.lang.String externalName)
HubConfigsetExternalName in interface HubConfigkind - - DatabaseKind enum, eg: STAGING or JOBpublic java.lang.String getFlowOperatorRoleName()
HubConfiggetFlowOperatorRoleName in interface HubConfigpublic void setFlowOperatorRoleName(java.lang.String flowOperatorRoleName)
HubConfigsetFlowOperatorRoleName in interface HubConfigflowOperatorRoleName - the name to usepublic java.lang.String getFlowOperatorUserName()
HubConfiggetFlowOperatorUserName in interface HubConfigpublic void setFlowOperatorUserName(java.lang.String flowOperatorUserName)
HubConfigsetFlowOperatorUserName in interface HubConfigflowOperatorUserName - - username to usepublic java.lang.String getFlowDeveloperRoleName()
HubConfiggetFlowDeveloperRoleName in interface HubConfigpublic void setFlowDeveloperRoleName(java.lang.String flowDeveloperRoleName)
HubConfigsetFlowDeveloperRoleName in interface HubConfigflowDeveloperRoleName - the name to use for developing flowspublic java.lang.String getFlowDeveloperUserName()
HubConfiggetFlowDeveloperUserName in interface HubConfigpublic void setFlowDeveloperUserName(java.lang.String flowDeveloperUserName)
HubConfigsetFlowDeveloperUserName in interface HubConfigflowDeveloperUserName - - username to usepublic java.lang.String getMlUsername()
public java.lang.String getMlPassword()
public void setHost(java.lang.String host)
public void setMlUsername(java.lang.String mlUsername)
public void setMlPassword(java.lang.String mlPassword)
public java.lang.String getLoadBalancerHost()
HubConfiggetLoadBalancerHost in interface HubConfigpublic java.lang.Boolean getIsHostLoadBalancer()
HubConfiggetIsHostLoadBalancer in interface HubConfigpublic java.lang.Boolean getIsProvisionedEnvironment()
HubConfiggetIsProvisionedEnvironment in interface HubConfigpublic void setIsProvisionedEnvironment(boolean isProvisionedEnvironment)
setIsProvisionedEnvironment in interface HubConfigpublic void setLoadBalancerHost(java.lang.String loadBalancerHost)
public java.lang.String getCustomForestPath()
HubConfiggetCustomForestPath in interface HubConfigpublic void setCustomForestPath(java.lang.String customForestPath)
public java.lang.String getModulePermissions()
HubConfiggetModulePermissions in interface HubConfigpublic java.lang.String getEntityModelPermissions()
HubConfiggetEntityModelPermissions in interface HubConfigpublic java.lang.String getFlowPermissions()
HubConfiggetFlowPermissions in interface HubConfigpublic java.lang.String getMappingPermissions()
HubConfiggetMappingPermissions in interface HubConfigpublic java.lang.String getStepDefinitionPermissions()
HubConfiggetStepDefinitionPermissions in interface HubConfigpublic java.lang.String getJobPermissions()
public void setJobPermissions(java.lang.String jobPermissions)
@Deprecated public java.lang.String getProjectDir()
HubConfiggetProjectDir in interface HubConfig@Deprecated public void setProjectDir(java.lang.String projectDir)
HubConfigsetProjectDir in interface HubConfigprojectDir - - a string that represents the path to the project directorypublic void setModulePermissions(java.lang.String modulePermissions)
public void setEntityModelPermissions(java.lang.String entityModelPermissions)
public void setFlowPermissions(java.lang.String flowPermissions)
public void setMappingPermissions(java.lang.String mappingPermissions)
public void setStepDefinitionPermissions(java.lang.String stepDefinitionPermissions)
public HubProject getHubProject()
HubConfiggetHubProject in interface HubConfigpublic void initHubProject()
HubConfiginitHubProject in interface HubConfig@Deprecated public java.lang.String getHubModulesDeployTimestampFile()
HubConfiggetHubModulesDeployTimestampFile in interface HubConfig@Deprecated public java.lang.String getUserModulesDeployTimestampFile()
HubConfiggetUserModulesDeployTimestampFile in interface HubConfigpublic void hydrateConfigs()
public void refreshProject()
HubConfigHubConfig.createProject(String) you can use setter methods to change HubConfig properties
 and then call this method.refreshProject in interface HubConfigpublic void loadConfigurationFromProperties(java.util.Properties properties,
                                            boolean loadGradleProperties)
properties - loadGradleProperties - protected void hydrateAppConfigs(java.util.Properties properties)
public com.marklogic.mgmt.ManageConfig getManageConfig()
public void setManageConfig(com.marklogic.mgmt.ManageConfig manageConfig)
public com.marklogic.mgmt.ManageClient getManageClient()
public void setManageClient(com.marklogic.mgmt.ManageClient manageClient)
public com.marklogic.mgmt.admin.AdminConfig getAdminConfig()
public void setAdminConfig(com.marklogic.mgmt.admin.AdminConfig adminConfig)
public com.marklogic.mgmt.admin.AdminManager getAdminManager()
public void setAdminManager(com.marklogic.mgmt.admin.AdminManager adminManager)
public com.marklogic.client.DatabaseClient newAppServicesClient()
HubConfignewAppServicesClient in interface HubConfigpublic com.marklogic.client.DatabaseClient newStagingClient()
HubConfignewStagingClient in interface HubConfigpublic com.marklogic.client.DatabaseClient newStagingClient(java.lang.String dbName)
HubConfignewStagingClient in interface HubConfigdbName - the name of the databasepublic com.marklogic.client.DatabaseClient newReverseFlowClient()
HubConfignewReverseFlowClient in interface HubConfigpublic com.marklogic.client.DatabaseClient newFinalClient()
HubConfignewFinalClient in interface HubConfigpublic com.marklogic.client.DatabaseClient newJobDbClient()
HubConfignewJobDbClient in interface HubConfigpublic com.marklogic.client.DatabaseClient newTraceDbClient()
HubConfignewTraceDbClient in interface HubConfigpublic com.marklogic.client.DatabaseClient newModulesDbClient()
HubConfignewModulesDbClient in interface HubConfigpublic java.nio.file.Path getModulesDir()
HubConfiggetModulesDir in interface HubConfigpublic java.nio.file.Path getHubProjectDir()
public java.nio.file.Path getHubPluginsDir()
HubConfiggetHubPluginsDir in interface HubConfigpublic java.nio.file.Path getHubEntitiesDir()
HubConfiggetHubEntitiesDir in interface HubConfigpublic java.nio.file.Path getHubMappingsDir()
HubConfiggetHubMappingsDir in interface HubConfigpublic java.nio.file.Path getStepsDirByType(StepDefinition.StepDefinitionType type)
getStepsDirByType in interface HubConfigpublic java.nio.file.Path getHubConfigDir()
HubConfiggetHubConfigDir in interface HubConfigpublic java.nio.file.Path getHubDatabaseDir()
HubConfiggetHubDatabaseDir in interface HubConfigpublic java.nio.file.Path getHubServersDir()
HubConfiggetHubServersDir in interface HubConfigpublic java.nio.file.Path getHubSecurityDir()
HubConfiggetHubSecurityDir in interface HubConfigpublic java.nio.file.Path getUserSecurityDir()
HubConfiggetUserSecurityDir in interface HubConfigpublic java.nio.file.Path getUserConfigDir()
HubConfiggetUserConfigDir in interface HubConfigpublic java.nio.file.Path getUserDatabaseDir()
HubConfiggetUserDatabaseDir in interface HubConfigpublic java.nio.file.Path getUserSchemasDir()
HubConfiggetUserSchemasDir in interface HubConfigpublic java.nio.file.Path getEntityDatabaseDir()
HubConfiggetEntityDatabaseDir in interface HubConfigpublic java.nio.file.Path getFlowsDir()
HubConfiggetFlowsDir in interface HubConfigpublic java.nio.file.Path getStepDefinitionsDir()
HubConfiggetStepDefinitionsDir in interface HubConfigpublic java.nio.file.Path getUserServersDir()
HubConfiggetUserServersDir in interface HubConfigpublic com.marklogic.appdeployer.AppConfig getAppConfig()
HubConfiggetAppConfig in interface HubConfigpublic void setAppConfig(com.marklogic.appdeployer.AppConfig config)
HubConfigsetAppConfig in interface HubConfigconfig - AppConfig to associate with the HubConfigpublic void setAppConfig(com.marklogic.appdeployer.AppConfig config,
                         boolean skipUpdate)
HubConfigsetAppConfig in interface HubConfigconfig - - AppConfig to associate with the HubConfigskipUpdate - false to force update of AppConfig, true to skip itpublic java.lang.String getJarVersion()
HubConfiggetJarVersion in interface HubConfigpublic java.lang.String getDHFVersion()
HubConfiggetDHFVersion in interface HubConfigpublic java.lang.String getHubLogLevel()
HubConfiggetHubLogLevel in interface HubConfigprotected void addDhfPropertiesToCustomTokens(com.marklogic.appdeployer.AppConfig appConfig)
appConfig - protected void initializeConfigDirs(com.marklogic.appdeployer.AppConfig config)
config - an AppConfig objectprotected void initializeModulePaths(com.marklogic.appdeployer.AppConfig config)
config - an AppConfig objectpublic java.lang.String getInfo()
HubConfigpublic HubConfig withPropertiesFromEnvironment(java.lang.String environment)
withPropertiesFromEnvironment in interface HubConfigenvironment - a string name for environmentpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getStagingSchemasDbName()
public java.lang.String getStagingTriggersDbName()
public void resetAppConfigs()
public void resetHubConfigs()
protected void initializePropertyConsumerMap()