Package org.flowable.common.engine.impl
Class FlowableVersion
- java.lang.Object
-
- org.flowable.common.engine.impl.FlowableVersion
-
public class FlowableVersion extends Object
This class is used for auto-upgrade purposes. The idea is that instances of this class are put in a sequential order, and that the current version is determined from the ACT_GE_PROPERTY table. Since sometimes in the past, a version is ambiguous (eg. 5.12 : 5.12, 5.12.1, 5.12T) this class act as a wrapper with a smarter matches() method.- Author:
- Joram Barrez
-
-
Field Summary
Fields Modifier and Type Field Description protected List<String>alternativeVersionStringsprotected StringmainVersion
-
Constructor Summary
Constructors Constructor Description FlowableVersion(String mainVersion)FlowableVersion(String mainVersion, List<String> alternativeVersionStrings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetMainVersion()inthashCode()booleanmatches(String version)
-