public abstract class VersionUtils extends Object
| Constructor and Description |
|---|
VersionUtils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getThreePartVersion(String fourPartVersion)
Given a 3 or 4 part version return the 3 part version.
|
static boolean |
isDataFlowServerVersionGreaterThanOrEqualToRequiredVersion(String dataFlowServerVersion,
String requiredVersion)
Return true if the Data Flow Server version is greater than or equal to a given
version.
|
public static String getThreePartVersion(String fourPartVersion)
null value. If there are not 3 or 4 parts in the provided version, return empty string.fourPartVersion - The four part version of the stringpublic static boolean isDataFlowServerVersionGreaterThanOrEqualToRequiredVersion(String dataFlowServerVersion, String requiredVersion)
dataFlowServerVersion - the data flow server version in three partsrequiredVersion - the required version to test against in three partsCopyright © 2021 Pivotal Software, Inc.. All rights reserved.