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, getVersionType
public DefaultStrategy(API api)
public boolean isMatchingVersion(Object versionInfoObj)
VersionStrategy
versionInfoObj
- object that can be used to extract data about the versionpublic String getVersionParam()
VersionStrategy
Copyright © 2005-2017 Apache Software Foundation. All Rights Reserved.