Interface VersionStrategy
-
- All Known Implementing Classes:
AbstractVersionStrategy,SemVerStrategy,VersionPatternStrategy
public interface VersionStrategyCommon interface for versioning strategies.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetBranchName()StringgetHash()StringgetHashShort()VersiongetVersion()voidincrement(VersionComponentType type, String hashRef)Increments the version componentStringstrategyName()StringtoVersionString()
-
-
-
Method Detail
-
strategyName
String strategyName()
-
toVersionString
String toVersionString()
-
increment
void increment(VersionComponentType type, String hashRef)
Increments the version component- Parameters:
type-VersionComponentTypeto incrementhashRef-Stringhash representing the change log
-
getHash
String getHash()
-
getHashShort
String getHashShort()
-
getBranchName
String getBranchName()
-
getVersion
Version getVersion()
-
-