public class VersionResponse extends GenericResponse
| Constructor and Description |
|---|
VersionResponse()
Empty constructor needed by JAXB
|
VersionResponse(Message message,
ResponseInfo responseInfo,
String version)
Creates a VersionResponse with the provided single message, the ResponseInfo and the version as String
|
| Modifier and Type | Method and Description |
|---|---|
String |
getCmpVersion()
Respective CMP version for this CMS version
|
Map<String,CmpVersionInfo> |
getNodeInfo()
Get the map containing CMP component version information for each node.
|
String |
getVersion()
Current server version
|
void |
setCmpVersion(String cmpVersion) |
void |
setNodeInfo(Map<String,CmpVersionInfo> nodeInfo)
Set the per node CMP component version information.
|
void |
setVersion(String version) |
addMessage, getMessages, getResponseInfo, setMessages, setResponseInfopublic VersionResponse()
public VersionResponse(Message message, ResponseInfo responseInfo, String version)
message - The messages that should be displayed to the userresponseInfo - ResponseInfo with the status of the responsepublic String getVersion()
public void setVersion(String version)
version - The current server versionpublic String getCmpVersion()
public void setCmpVersion(String cmpVersion)
cmpVersion - The respective CMP version for this CMS versionpublic Map<String,CmpVersionInfo> getNodeInfo()
public void setNodeInfo(Map<String,CmpVersionInfo> nodeInfo)
nodeInfo - The CMP component version informationCopyright © 2024 Gentics Software. All rights reserved.