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 |
static String |
LAST_V6_VERSION_BEFORE_SERVICES |
| 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 |
getFlowableVersionIndexForDbVersion(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 final String LAST_V6_VERSION_BEFORE_SERVICES
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 getFlowableVersionIndexForDbVersion(String dbVersion)
Copyright © 2021 Flowable. All rights reserved.