Interface ArtifactDefinitionUpgrader
-
- All Known Implementing Classes:
ArtifactDefinitionUpgraderImpl
public interface ArtifactDefinitionUpgrader
-
-
Method Summary
All Methods Instance Methods Abstract 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
void upgrade(Function<ArtifactDefinition,Optional<ArtifactDefinition>> upgradeFunction)
Apply upgrade function to all ArtifactDefinitions in the system.- Parameters:
upgradeFunction
- upgrade function, implementation should return Optional.empty() if ArtifactDefinition was not modified
-
-