com.perforce.p4java.impl.mapbased.server
Class ServerInfo

java.lang.Object
  extended by com.perforce.p4java.impl.mapbased.server.ServerInfo
All Implemented Interfaces:
IServerInfo

public class ServerInfo
extends Object
implements IServerInfo

Default simple implementation for server info interface.


Constructor Summary
ServerInfo()
          Default constructor; leaves all fields initialized to null.
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)
          Explicit-value all-fields constructor.
 
Method Summary
 String getClientAddress()
           
 String getClientCurrentDirectory()
           
 String getClientHost()
           
 String getClientName()
           
 String getClientRoot()
           
 String getProxyVersion()
           
 String getServerAddress()
           
 String getServerDate()
           
 String getServerLicense()
           
 String getServerLicenseIp()
           
 String getServerRoot()
           
 String getServerUptime()
           
 String getServerVersion()
           
 String getUserName()
           
 boolean isMonitorEnabled()
           
 boolean isUnicodeEnabled()
           
 void setClientAddress(String clientAddress)
           
 void setClientCurrentDirectory(String currentDirectory)
           
 void setClientHost(String clientHost)
           
 void setClientName(String clientName)
           
 void setClientRoot(String clientRoot)
           
 void setMonitorEnabled(boolean monitorEnabled)
           
 void setProxyVersion(String proxyVersion)
           
 void setServerAddress(String serverAddress)
           
 void setServerDate(String serverDate)
           
 void setServerLicense(String serverLicense)
           
 void setServerLicenseIp(String serverLicenseIp)
           
 void setServerRoot(String serverRoot)
           
 void setServerUptime(String serverUptime)
           
 void setServerVersion(String serverVersion)
           
 void setUnicodeEnabled(boolean unicodeEnabled)
           
 void setUserName(String userName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServerInfo

public ServerInfo()
Default constructor; leaves all fields initialized to null.


ServerInfo

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)
Explicit-value all-fields constructor.


ServerInfo

public ServerInfo(Map<String,Object> map)
Constructor for use with maps passed back from the Perforce server only.

Method Detail

getServerAddress

public String getServerAddress()
Specified by:
getServerAddress in interface IServerInfo

setServerAddress

public void setServerAddress(String serverAddress)

getServerDate

public String getServerDate()
Specified by:
getServerDate in interface IServerInfo

setServerDate

public void setServerDate(String serverDate)

getServerLicense

public String getServerLicense()
Specified by:
getServerLicense in interface IServerInfo

setServerLicense

public void setServerLicense(String serverLicense)

getServerRoot

public String getServerRoot()
Specified by:
getServerRoot in interface IServerInfo

setServerRoot

public void setServerRoot(String serverRoot)

getServerUptime

public String getServerUptime()
Specified by:
getServerUptime in interface IServerInfo

setServerUptime

public void setServerUptime(String serverUptime)

getServerVersion

public String getServerVersion()
Specified by:
getServerVersion in interface IServerInfo

setServerVersion

public void setServerVersion(String serverVersion)

getClientName

public String getClientName()
Specified by:
getClientName in interface IServerInfo

setClientName

public void setClientName(String clientName)

getClientHost

public String getClientHost()
Specified by:
getClientHost in interface IServerInfo

setClientHost

public void setClientHost(String clientHost)

getClientRoot

public String getClientRoot()
Specified by:
getClientRoot in interface IServerInfo

setClientRoot

public void setClientRoot(String clientRoot)

getClientAddress

public String getClientAddress()
Specified by:
getClientAddress in interface IServerInfo

setClientAddress

public void setClientAddress(String clientAddress)

getClientCurrentDirectory

public String getClientCurrentDirectory()
Specified by:
getClientCurrentDirectory in interface IServerInfo

setClientCurrentDirectory

public void setClientCurrentDirectory(String currentDirectory)

getServerLicenseIp

public String getServerLicenseIp()
Specified by:
getServerLicenseIp in interface IServerInfo

setServerLicenseIp

public void setServerLicenseIp(String serverLicenseIp)

getUserName

public String getUserName()
Specified by:
getUserName in interface IServerInfo

setUserName

public void setUserName(String userName)

isMonitorEnabled

public boolean isMonitorEnabled()
Specified by:
isMonitorEnabled in interface IServerInfo

setMonitorEnabled

public void setMonitorEnabled(boolean monitorEnabled)

isUnicodeEnabled

public boolean isUnicodeEnabled()
Specified by:
isUnicodeEnabled in interface IServerInfo

setUnicodeEnabled

public void setUnicodeEnabled(boolean unicodeEnabled)

getProxyVersion

public String getProxyVersion()
Specified by:
getProxyVersion in interface IServerInfo

setProxyVersion

public void setProxyVersion(String proxyVersion)


Copyright © 2011 Perforce Software. All Rights Reserved.