Class ServerInfo
java.lang.Object
com.atlassian.jira.rest.client.api.domain.ServerInfo
Basic information about JIRA server
- Since:
- v0.1
-
Constructor Summary
ConstructorsConstructorDescriptionServerInfo(URI baseUri, String version, int buildNumber, org.joda.time.DateTime buildDate, org.joda.time.DateTime serverTime, String scmInfo, String serverTitle) -
Method Summary
-
Constructor Details
-
ServerInfo
-
-
Method Details
-
getBaseUri
- Returns:
- base URI of this JIRA instance
-
getVersion
- Returns:
- version of this JIRA instance (like "4.2.1")
-
getBuildNumber
public int getBuildNumber()- Returns:
- build number
-
getBuildDate
public org.joda.time.DateTime getBuildDate()- Returns:
- date when the version of this JIRA instance has been built
-
getServerTime
@Nullable public org.joda.time.DateTime getServerTime()- Returns:
- current time (when the response is generated) on the server side or
nullwhen the user is not authenticated.
-
getScmInfo
- Returns:
- SCM information (like SVN revision) indicated from which sources this JIRA server has been built.
-
getServerTitle
- Returns:
- name of this JIRA instance (as defined by JIRA admin)
-
toString
-
equals
-
hashCode
public int hashCode()
-