public class ServerInfo extends Object implements IServerInfo
| Modifier and Type | Field and Description |
|---|---|
static String |
SERVER_INFO_DATE_PATTERN |
| Constructor and Description |
|---|
ServerInfo()
Default constructor; leaves all fields initialized to null.
|
ServerInfo(List<Map<String,Object>> maps)
Constructor for use with maps passed back from the Perforce server only.
|
ServerInfo(Map<String,Object> map)
Constructor for use with maps passed back from the Perforce server only.
|
ServerInfo(String clientName,
String clientHost,
String clientRoot,
String clientAddress,
String clientCurrentDirectory,
String serverAddress,
String serverDate,
String serverLicense,
String serverRoot,
String serverUptime,
String serverVersion,
String serverLicenseIp,
String proxyVersion,
String userName,
boolean unicodeEnabled,
boolean monitorEnabled)
Deprecated.
Use constructor with map parameter to initialize all fields.
|
public static final String SERVER_INFO_DATE_PATTERN
public ServerInfo()
@Deprecated public ServerInfo(String clientName, String clientHost, String clientRoot, String clientAddress, String clientCurrentDirectory, String serverAddress, String serverDate, String serverLicense, String serverRoot, String serverUptime, String serverVersion, String serverLicenseIp, String proxyVersion, String userName, boolean unicodeEnabled, boolean monitorEnabled)
public ServerInfo(List<Map<String,Object>> maps)
public String getServerAddress()
getServerAddress in interface IServerInfopublic void setServerAddress(String serverAddress)
public String getServerDate()
getServerDate in interface IServerInfopublic void setServerDate(String serverDate)
public Calendar getServerCalendar()
getServerCalendar in interface IServerInfopublic void setServerCalendar(Calendar serverCalendar)
public String getServerLicense()
getServerLicense in interface IServerInfopublic void setServerLicense(String serverLicense)
public String getServerRoot()
getServerRoot in interface IServerInfopublic void setServerRoot(String serverRoot)
public String getServerUptime()
getServerUptime in interface IServerInfopublic void setServerUptime(String serverUptime)
public String getServerVersion()
getServerVersion in interface IServerInfopublic void setServerVersion(String serverVersion)
public String getClientName()
getClientName in interface IServerInfopublic void setClientName(String clientName)
public String getClientHost()
getClientHost in interface IServerInfopublic void setClientHost(String clientHost)
public String getClientRoot()
getClientRoot in interface IServerInfopublic void setClientRoot(String clientRoot)
public String getClientAddress()
getClientAddress in interface IServerInfopublic void setClientAddress(String clientAddress)
public String getPeerAddress()
getPeerAddress in interface IServerInfopublic void setPeerAddress(String peerAddress)
public String getClientCurrentDirectory()
getClientCurrentDirectory in interface IServerInfopublic void setClientCurrentDirectory(String currentDirectory)
public String getServerLicenseIp()
getServerLicenseIp in interface IServerInfopublic void setServerLicenseIp(String serverLicenseIp)
public boolean isServerEncrypted()
isServerEncrypted in interface IServerInfopublic void setServerEncrypted(boolean serverEncrypted)
public String getReplica()
public void setReplica(String replica)
public String getUserName()
getUserName in interface IServerInfopublic void setUserName(String userName)
public boolean isPasswordEnabled()
isPasswordEnabled in interface IServerInfopublic void setPasswordEnabled(boolean passwordEnabled)
public boolean isCaseSensitive()
isCaseSensitive in interface IServerInfopublic void setCaseSensitive(boolean caseSensitive)
public boolean isMonitorEnabled()
isMonitorEnabled in interface IServerInfopublic void setMonitorEnabled(boolean monitorEnabled)
public boolean isUnicodeEnabled()
isUnicodeEnabled in interface IServerInfopublic void setUnicodeEnabled(boolean unicodeEnabled)
public boolean isMoveDisabled()
isMoveDisabled in interface IServerInfopublic void setMoveDisabled(boolean moveDisabled)
public String getProxyVersion()
getProxyVersion in interface IServerInfopublic void setProxyVersion(String proxyVersion)
public String getProxyAddress()
getProxyAddress in interface IServerInfopublic void setProxyAddress(String proxyAddress)
public String getProxyRoot()
getProxyRoot in interface IServerInfopublic void setProxyRoot(String proxyRoot)
public boolean isProxyEncrypted()
isProxyEncrypted in interface IServerInfopublic void setProxyEncrypted(boolean proxyEncrypted)
public String getBrokerVersion()
getBrokerVersion in interface IServerInfopublic void setBrokerVersion(String brokerVersion)
public String getBrokerAddress()
getBrokerAddress in interface IServerInfopublic void setBrokerAddress(String brokerAddress)
public boolean isBrokerEncrypted()
isBrokerEncrypted in interface IServerInfopublic void setBrokerEncrypted(boolean brokerEncrypted)
public String getSandboxVersion()
getSandboxVersion in interface IServerInfopublic void setSandboxVersion(String sandboxVersion)
public String getSandboxPort()
getSandboxPort in interface IServerInfopublic void setSandboxPort(String sandboxPort)
public boolean isEncrypted()
isEncrypted in interface IServerInfopublic String getServerId()
getServerId in interface IServerInfopublic void setServerId(String serverId)
public String getServerCluster()
getServerCluster in interface IServerInfopublic void setServerCluster(String serverCluster)
public String getIntegEngine()
getIntegEngine in interface IServerInfopublic void setIntegEngine(String integEngine)
Copyright © 2017 Perforce Software. All Rights Reserved.