Package org.bsc.confluence.xmlrpc
Class ServerInfo
- java.lang.Object
-
- org.bsc.confluence.xmlrpc.MapObject
-
- org.bsc.confluence.xmlrpc.ServerInfo
-
public class ServerInfo extends MapObject
- Version:
- $Revision$ $Date$
-
-
Constructor Summary
Constructors Constructor Description ServerInfo()ServerInfo(Map<String,Object> data)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetBaseUrl()The base URL for the confluence instanceStringgetBuildId()the build ID of the Confluence instance (usually a number)intgetMajorVersion()the major version number of the Confluence instanceintgetMinorVersion()the minor version number of the Confluence instanceintgetPatchLevel()the patch-level of the Confluence instancebooleanisDevelopmentBuild()Whether the build is a developer-only release or notvoidsetBaseUrl(String baseUrl)voidsetBuildId(String buildId)voidsetDevelopmentBuild(boolean developmentBuild)voidsetMajorVersion(int majorVersion)voidsetMinorVersion(int minorVersion)voidsetPatchLevel(int patchLevel)Map<String,Object>toRawMap()
-
-
-
Method Detail
-
getMajorVersion
public int getMajorVersion()
the major version number of the Confluence instance
-
setMajorVersion
public void setMajorVersion(int majorVersion)
-
getMinorVersion
public int getMinorVersion()
the minor version number of the Confluence instance
-
setMinorVersion
public void setMinorVersion(int minorVersion)
-
getPatchLevel
public int getPatchLevel()
the patch-level of the Confluence instance
-
setPatchLevel
public void setPatchLevel(int patchLevel)
-
getBuildId
public String getBuildId()
the build ID of the Confluence instance (usually a number)
-
setBuildId
public void setBuildId(String buildId)
-
isDevelopmentBuild
public boolean isDevelopmentBuild()
Whether the build is a developer-only release or not
-
setDevelopmentBuild
public void setDevelopmentBuild(boolean developmentBuild)
-
getBaseUrl
public String getBaseUrl()
The base URL for the confluence instance
-
setBaseUrl
public void setBaseUrl(String baseUrl)
-
-