Interface JavaVersionHandlerComponent
public interface JavaVersionHandlerComponent
Interface that must be implemented by java class used as version handler
-
Method Summary
Modifier and TypeMethodDescriptiongetVersions
(String componentId, VersionConfiguration versionConfiguration, Logger logger) Find the current version for a component identifier
-
Method Details
-
getVersions
List<Version> getVersions(String componentId, VersionConfiguration versionConfiguration, Logger logger) throws MigrationException Find the current version for a component identifier- Parameters:
componentId
- component to testversionConfiguration
- configuration to uselogger
- logger that is configured to log this migration- Returns:
- the current version for this component (can have a versionId null if no version is found)
- Throws:
MigrationException
- Something went wrong
-