Package com.atlassian.bamboo.upgrade
Class BuildDefinitionUpgrader
- java.lang.Object
-
- com.atlassian.bamboo.upgrade.AbstractXmlUpgrader
-
- com.atlassian.bamboo.upgrade.BuildDefinitionUpgrader
-
public class BuildDefinitionUpgrader extends AbstractXmlUpgrader
An upgrader for plan's build definition that manipulates on raw XML. For use inupgrade tasks
that can't operate onBuildDefinition
.
-
-
Constructor Summary
Constructors Constructor Description BuildDefinitionUpgrader(@NotNull PlanManager planManager, @NotNull Plan plan)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.dom4j.Document
getDocument()
void
save()
-
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 Detail
-
BuildDefinitionUpgrader
public BuildDefinitionUpgrader(@NotNull @NotNull PlanManager planManager, @NotNull @NotNull Plan plan) throws org.dom4j.DocumentException
- Throws:
org.dom4j.DocumentException
-
-
Method Detail
-
getDocument
protected org.dom4j.Document getDocument()
- Specified by:
getDocument
in classAbstractXmlUpgrader
-
save
public void save()
- Specified by:
save
in classAbstractXmlUpgrader
-
-