Package jetbrains.buildServer.util
Class TomcatVersion
- java.lang.Object
-
- jetbrains.buildServer.util.TomcatVersion
-
public class TomcatVersion extends Object
- Author:
- Eugene Petrenko (eugene.petrenko@gmail.com) 16.08.2010
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TomcatVersion.Version
-
Constructor Summary
Constructors Constructor Description TomcatVersion()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TomcatVersion.Version
fromServerInfo(String serverInfo)
static TomcatVersion.Version
getTomcatVersion()
-
-
-
Method Detail
-
getTomcatVersion
@Nullable public static TomcatVersion.Version getTomcatVersion()
- Returns:
- version if it seems to be running under Tomcat, null otherwise
-
fromServerInfo
@Nullable public static TomcatVersion.Version fromServerInfo(@Nullable String serverInfo)
- Returns:
- version if it seems to be Tomcat, null otherwise
-
-