Class ServerInfo

java.lang.Object
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.
  • Field Details

  • Constructor Details

    • ServerInfo

      public ServerInfo()
      Default constructor; leaves all fields initialized to null.
    • 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)
      Deprecated.
      Use constructor with map parameter to initialize all fields.
      Explicit-value all-fields constructor.
      Parameters:
      clientName - clientName
      clientHost - clientHost
      clientRoot - clientRoot
      clientAddress - clientAddress
      clientCurrentDirectory - clientCurrentDirectory
      serverAddress - serverAddress
      serverDate - serverDate
      serverLicense - serverLicense
      serverRoot - serverRoot
      serverUptime - serverUptime
      serverVersion - serverVersion
      serverLicenseIp - serverLicenseIp
      proxyVersion - proxyVersion
      userName - userName
      unicodeEnabled - unicodeEnabled
      monitorEnabled - monitorEnabled
    • ServerInfo

      public ServerInfo(List<Map<String,Object>> maps)
      Constructor for use with maps passed back from the Perforce server only. When a broker is involved, there will be more than one map.
      Parameters:
      maps - maps
    • ServerInfo

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