public class URLBasedVersionStrategy extends AbstractVersionStrategy
api, version, versionType| Constructor and Description |
|---|
URLBasedVersionStrategy(API api,
String version,
String versionParam) |
| Modifier and Type | Method and Description |
|---|---|
String |
getVersionParam()
returns type information ie:- location regex/string that can be used t extract version..
|
boolean |
isMatchingVersion(Object versionInfoObj)
check if version matches from the version ifo object.
|
getAPI, getVersion, getVersionTypepublic boolean isMatchingVersion(Object versionInfoObj)
VersionStrategyversionInfoObj - object that can be used to extract data about the versionpublic String getVersionParam()
VersionStrategyCopyright © 2005-2017 Apache Software Foundation. All Rights Reserved.