Package com.atlassian.bamboo.upgrade
Class ConfigurationUpgrader
java.lang.Object
com.atlassian.bamboo.upgrade.AbstractXmlUpgrader
com.atlassian.bamboo.upgrade.ConfigurationUpgrader
- Direct Known Subclasses:
AdministrationConfigurationUpgrader
,UserConfigurationUpgrader
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprotected
ConfigurationUpgrader
(@NotNull BootstrapManager bootstrapManager, String fileName) -
Method Summary
Methods inherited from class com.atlassian.bamboo.upgrade.AbstractXmlUpgrader
appendComment, asElement, asMap, closeQuietly, getElement, getElement, getElementText, getRootElement, logChanges, remove, saveNode, setOrAdd, setOrAdd, setOrAdd, setOrAdd, update
-
Field Details
-
cfgFile
-
-
Constructor Details
-
ConfigurationUpgrader
protected ConfigurationUpgrader(@NotNull @NotNull BootstrapManager bootstrapManager, String fileName)
-
-
Method Details
-
save
- Specified by:
save
in classAbstractXmlUpgrader
- Throws:
IOException
-
getLogPrefix
-
getDocument
protected org.dom4j.Document getDocument()- Specified by:
getDocument
in classAbstractXmlUpgrader
-