Class ArtifactDefinitionUpgraderImpl
java.lang.Object
com.atlassian.bamboo.upgrade.utils.impl.ArtifactDefinitionUpgraderImpl
- All Implemented Interfaces:
ArtifactDefinitionUpgrader
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
upgrade
(Function<ArtifactDefinition, Optional<ArtifactDefinition>> upgradeFunction) Apply upgrade function to all ArtifactDefinitions in the system.
-
Constructor Details
-
ArtifactDefinitionUpgraderImpl
public ArtifactDefinitionUpgraderImpl()
-
-
Method Details
-
upgrade
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
-