Package jetbrains.buildServer.version
Class ServerVersionInfo
- java.lang.Object
-
- jetbrains.buildServer.version.ServerVersionInfo
-
public class ServerVersionInfo extends Object
Represents all information about current server version.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
Date
getBuildDate()
String
getBuildNumber()
String
getDisplayVersion()
int
getDisplayVersionMajor()
int
getDisplayVersionMinor()
String
getPluginProtocolVersion()
String
getProjectConfigVersion()
int
hashCode()
boolean
isEAP()
-
-
-
Method Detail
-
getPluginProtocolVersion
@NotNull public String getPluginProtocolVersion()
- Returns:
- the full version with plugin protocol part, but without build number, like 2.0.1.34
-
getDisplayVersion
@NotNull public String getDisplayVersion()
- Returns:
- the version of TeamCity for showing in the UI, but without build number, like 2.0.1 EAP
-
getProjectConfigVersion
@NotNull public String getProjectConfigVersion()
- Returns:
- version of project configuration files used by the server
- Since:
- 9.0
-
getBuildNumber
@NotNull public String getBuildNumber()
- Returns:
- TeamCity build number, like 5432
-
getBuildDate
@NotNull public Date getBuildDate()
- Returns:
- TeamCity build date
- Since:
- 7.1.3
-
getDisplayVersionMajor
public int getDisplayVersionMajor()
- Returns:
- TeamCity major version
-
getDisplayVersionMinor
public int getDisplayVersionMinor()
- Returns:
- TeamCity minor version
-
isEAP
public boolean isEAP()
-
-