All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.polyfillservice.api.interfaces.VersionUtilService Maven / Gradle / Ivy

The newest version!
package org.polyfillservice.api.interfaces;

/**
 * Created by smo on 2/26/17.
 * Service to check version number.
 */
public interface VersionUtilService {

    /**
     * Check if {@code checkVersion} satisfies {@code range}
     * @param checkVersion the version number that needs to be checked
     * @param range range of user agent version (e.g. 4 - 6, >=5, >4, *, 10 - *).
     * @return return true if version is in range and return false if range is invalid
     */
    boolean isVersionInRange(String checkVersion, String range);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy