Interface JavaVersionHandlerComponent
-
public interface JavaVersionHandlerComponent
Interface that must be implemented by java class used as version handler
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<Version>
getVersions(String componentId, VersionConfiguration versionConfiguration, org.slf4j.Logger logger)
Find the current version for a component identifier
-
-
-
Method Detail
-
getVersions
List<Version> getVersions(String componentId, VersionConfiguration versionConfiguration, org.slf4j.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
-
-