Interface ClusterConfigurationHelperInternal
- All Superinterfaces:
ClusterConfigurationHelper
- All Known Implementing Classes:
DefaultClusterConfigurationHelper
,NonClusterConfigurationHelper
Parts of
ClusterConfigurationHelper
that should not be visible for plugins.- Since:
- 5.9.1
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Creates and sets up the cluster config file in the shared home if it doesn't already exist.void
Creates shared home directory if it does not exist already.Get the build number stored in the confluence.cfg.xml file in the shared home foldergetSharedProperty
(Object key) Get the value of a property stored in the confluence.cfg.xml config file (in the shared home folder)void
Merges the config file in shared home into the current config file (in local home folder).void
This method need to be trigger when we finish setup.void
saveSharedBuildNumber
(String sharedBuildNumber) Store the build number into the confluence.cfg.xml file in the shared home foldervoid
saveSharedProperty
(Object key, Object value) Save a property into the shared confluence.cfg.xml config file (in the shared home folder)Methods inherited from interface com.atlassian.confluence.cluster.ClusterConfigurationHelper
bootstrapCluster, createCluster, getClusterableInterfaces, isClusteredInstance, isClusterHomeConfigured, joinConfig, sharedHome
-
Method Details
-
populateExistingClusterSetupConfig
void populateExistingClusterSetupConfig()Merges the config file in shared home into the current config file (in local home folder). Does nothing if the cluster config file doesn't exist.- Since:
- 6.1
-
createClusterConfig
void createClusterConfig()Creates and sets up the cluster config file in the shared home if it doesn't already exist. Does nothing if the cluster config file already exists.- Since:
- 6.11.1