differ-core / com.differ.differcore.service / VersionService

VersionService

interface VersionService

Service for working with existing API versions.

See Also

VersionServiceImpl

Author
Vladislav Iusiumbeli

Since
1.0.0

Functions

getAllVersions

Looking for all available API versions.

abstract fun getAllVersions(): List<String>

getLastVersionFile

Looking last version of API file.

abstract fun getLastVersionFile(): File?

getPenultimateVersionFile

Looking penultimate version of API file.

abstract fun getPenultimateVersionFile(): File?

getVersionFile

Looking specified version of API file.

abstract fun getVersionFile(version: String): File?

Inheritors

VersionServiceImpl

Implementation of VersionService interface.

class VersionServiceImpl : VersionService