Class ArtifactDefinitionUpgraderImpl
- java.lang.Object
-
- com.atlassian.bamboo.upgrade.utils.impl.ArtifactDefinitionUpgraderImpl
-
- All Implemented Interfaces:
ArtifactDefinitionUpgrader
public class ArtifactDefinitionUpgraderImpl extends Object implements ArtifactDefinitionUpgrader
-
-
Constructor Summary
Constructors Constructor Description ArtifactDefinitionUpgraderImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
upgrade(Function<ArtifactDefinition,Optional<ArtifactDefinition>> upgradeFunction)
Apply upgrade function to all ArtifactDefinitions in the system.
-
-
-
Method Detail
-
upgrade
public void upgrade(Function<ArtifactDefinition,Optional<ArtifactDefinition>> upgradeFunction)
Description copied from interface:ArtifactDefinitionUpgrader
Apply upgrade function to all ArtifactDefinitions in the system.- Specified by:
upgrade
in interfaceArtifactDefinitionUpgrader
- Parameters:
upgradeFunction
- upgrade function, implementation should return Optional.empty() if ArtifactDefinition was not modified
-
-