Package com.atlassian.bamboo.upgrade
Class BuildDefinitionUpgrader
java.lang.Object
com.atlassian.bamboo.upgrade.AbstractXmlUpgrader
com.atlassian.bamboo.upgrade.BuildDefinitionUpgrader
An upgrader for plan's build definition that manipulates on raw XML. For use in
upgrade tasks
that can't operate on BuildDefinition
.-
Constructor Summary
ConstructorDescriptionBuildDefinitionUpgrader
(@NotNull PlanManager planManager, @NotNull Plan plan) -
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
-
Constructor Details
-
BuildDefinitionUpgrader
public BuildDefinitionUpgrader(@NotNull @NotNull PlanManager planManager, @NotNull @NotNull Plan plan) throws org.dom4j.DocumentException - Throws:
org.dom4j.DocumentException
-
-
Method Details
-
getDocument
protected org.dom4j.Document getDocument()- Specified by:
getDocument
in classAbstractXmlUpgrader
-
save
public void save()- Specified by:
save
in classAbstractXmlUpgrader
-