org.codehaus.swizzle.confluence
Class ServerInfo

java.lang.Object
  extended by org.codehaus.swizzle.confluence.MapObject
      extended by org.codehaus.swizzle.confluence.ServerInfo

public class ServerInfo
extends MapObject

Version:
$Revision$ $Date$

Field Summary
 
Fields inherited from class org.codehaus.swizzle.confluence.MapObject
fields
 
Constructor Summary
ServerInfo()
           
ServerInfo(Map data)
           
 
Method Summary
 String getBaseUrl()
          The base URL for the confluence instance
 String getBuildId()
          the build ID of the Confluence instance (usually a number)
 int getMajorVersion()
          the major version number of the Confluence instance
 int getMinorVersion()
          the minor version number of the Confluence instance
 int getPatchLevel()
          the patch-level of the Confluence instance
 boolean isDevelopmentBuild()
          Whether the build is a developer-only release or not
 void setBaseUrl(String baseUrl)
           
 void setBuildId(String buildId)
           
 void setDevelopmentBuild(boolean developmentBuild)
           
 void setMajorVersion(int majorVersion)
           
 void setMinorVersion(int minorVersion)
           
 void setPatchLevel(int patchLevel)
           
 Map toRawMap()
           
 
Methods inherited from class org.codehaus.swizzle.confluence.MapObject
getBoolean, getDate, getInt, getList, getMap, getString, setBoolean, setBoolean, setDate, setDate, setInt, setInt, setList, setMap, setString, toMap, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ServerInfo

public ServerInfo()

ServerInfo

public ServerInfo(Map data)
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)

toRawMap

public Map toRawMap()
Overrides:
toRawMap in class MapObject


Copyright © 2012 The Codehaus Foundation. All Rights Reserved.