Class IncrementPatchVersionGenerationStrategy
java.lang.Object
org.activiti.cloud.services.modeling.jpa.version.IncrementPatchVersionGenerationStrategy
- All Implemented Interfaces:
VersionGenerationStrategy
public class IncrementPatchVersionGenerationStrategy
extends Object
implements VersionGenerationStrategy
Simple version generation strategy by incrementing the patch version
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongenerateNextVersion(String latestVersion) Generate the next version relative to the given version.
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
IncrementPatchVersionGenerationStrategy
public IncrementPatchVersionGenerationStrategy()
-
-
Method Details
-
generateNextVersion
Description copied from interface:VersionGenerationStrategyGenerate the next version relative to the given version.- Specified by:
generateNextVersionin interfaceVersionGenerationStrategy- Parameters:
latestVersion- the version to increment- Returns:
- the generated version
-