public class DefaultStrategy extends AbstractVersionStrategy
api, version, versionType| Constructor and Description |
|---|
DefaultStrategy(API api) |
| 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 DefaultStrategy(API api)
public 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.