public class FlowableVersions extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
CURRENT_VERSION |
static List<FlowableVersion> |
FLOWABLE_VERSIONS |
static String |
LAST_V5_VERSION |
| Constructor and Description |
|---|
FlowableVersions() |
| Modifier and Type | Method and Description |
|---|---|
static int |
findMatchingVersionIndex(FlowableVersion flowableVersion)
Returns the index in the list of
FLOWABLE_VERSIONS matching the provided string version. |
static int |
findMatchingVersionIndex(String dbVersion) |
static int |
getFlowableVersionForDbVersion(String dbVersion) |
static FlowableVersion |
getPreviousVersion(String version) |
public static final String CURRENT_VERSION
public static final List<FlowableVersion> FLOWABLE_VERSIONS
public static final String LAST_V5_VERSION
public static int findMatchingVersionIndex(FlowableVersion flowableVersion)
FLOWABLE_VERSIONS matching the provided string version. Returns -1 if no match can be found.public static int findMatchingVersionIndex(String dbVersion)
public static FlowableVersion getPreviousVersion(String version)
public static int getFlowableVersionForDbVersion(String dbVersion)
Copyright © 2017 Flowable. All rights reserved.