public class ArtifactDefinitionUpgraderImpl extends Object implements ArtifactDefinitionUpgrader
Constructor and Description |
---|
ArtifactDefinitionUpgraderImpl() |
Modifier and Type | Method and Description |
---|---|
void |
upgrade(Function<ArtifactDefinition,Optional<ArtifactDefinition>> upgradeFunction)
Apply upgrade function to all ArtifactDefinitions in the system.
|
public void upgrade(Function<ArtifactDefinition,Optional<ArtifactDefinition>> upgradeFunction)
ArtifactDefinitionUpgrader
upgrade
in interface ArtifactDefinitionUpgrader
upgradeFunction
- upgrade function, implementation should return Optional.empty() if ArtifactDefinition was not modifiedCopyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.