com.perforce.p4java.server
Interface IServerInfo

All Known Implementing Classes:
ServerInfo

public interface IServerInfo

Provides a snapshot onto what the Perforce server knows about both itself and the Perforce client.

Semantics for the methods below are intended to the same as documented elsewhere for the output of the p4 'info' command.

Note that individual methods defined below are not guaranteed to return non-null or even meaningful results.

Note also that the values returned here are what the Perforce server believes is current and accurate; these may not always be exactly the same as what the client itself believes.


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()
           
 

Method Detail

getUserName

String getUserName()

getClientName

String getClientName()

getClientRoot

String getClientRoot()

getClientHost

String getClientHost()

getClientAddress

String getClientAddress()

getClientCurrentDirectory

String getClientCurrentDirectory()

getServerAddress

String getServerAddress()

getServerRoot

String getServerRoot()

getServerDate

String getServerDate()

getServerUptime

String getServerUptime()

getServerVersion

String getServerVersion()

getServerLicense

String getServerLicense()

getServerLicenseIp

String getServerLicenseIp()

getProxyVersion

String getProxyVersion()

isUnicodeEnabled

boolean isUnicodeEnabled()

isMonitorEnabled

boolean isMonitorEnabled()


Copyright © 2011 Perforce Software. All Rights Reserved.