Interface JavaVersionHandlerComponent


Interface that must be implemented by java class used as version handler
  • 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 test
      versionConfiguration - configuration to use
      logger - 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