Class PlatformHelper
java.lang.Object
org.nuxeo.connect.update.task.guards.PlatformHelper
This class can be used to check if the current platform match a given platform. For example in a command you may want
a guard that define the platform string format.
- Author:
- Bogdan Stefanescu
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
getFullName
(String platform) getName()
static String
getPlatformKey
(String platform, String version) boolean
isJetty()
Deprecated.since 11.1, no replacementboolean
isTomcat()
Deprecated.since 11.1, no replacementboolean
Test whether or not the current platform is same as (or compatible) with the given one.
-
Field Details
-
name
-
version
-
-
Constructor Details
-
PlatformHelper
public PlatformHelper()
-
-
Method Details
-
getName
-
getVersion
-
matches
Test whether or not the current platform is same as (or compatible) with the given one.- Returns:
- not implemented, always return true
-
isTomcat
Deprecated.since 11.1, no replacement -
isJetty
Deprecated.since 11.1, no replacement -
getFullName
-
getPlatformKey
-