Class ServerInfo

  • All Implemented Interfaces:
    IServerInfo

    public class ServerInfo
    extends java.lang.Object
    implements IServerInfo
    Default simple implementation for server info interface.
    • Field Detail

      • SERVER_INFO_DATE_PATTERN

        public static final java.lang.String SERVER_INFO_DATE_PATTERN
        See Also:
        Constant Field Values
    • Constructor Detail

      • ServerInfo

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

        @Deprecated
        public ServerInfo​(java.lang.String clientName,
                          java.lang.String clientHost,
                          java.lang.String clientRoot,
                          java.lang.String clientAddress,
                          java.lang.String clientCurrentDirectory,
                          java.lang.String serverAddress,
                          java.lang.String serverDate,
                          java.lang.String serverLicense,
                          java.lang.String serverRoot,
                          java.lang.String serverUptime,
                          java.lang.String serverVersion,
                          java.lang.String serverLicenseIp,
                          java.lang.String proxyVersion,
                          java.lang.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​(java.util.List<java.util.Map<java.lang.String,​java.lang.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​(java.util.Map<java.lang.String,​java.lang.Object> map)
        Constructor for use with maps passed back from the Perforce server only.
        Parameters:
        map - map
    • Method Detail

      • setServerAddress

        public void setServerAddress​(java.lang.String serverAddress)
      • setServerDate

        public void setServerDate​(java.lang.String serverDate)
      • setServerCalendar

        public void setServerCalendar​(java.util.Calendar serverCalendar)
      • setServerLicense

        public void setServerLicense​(java.lang.String serverLicense)
      • setServerRoot

        public void setServerRoot​(java.lang.String serverRoot)
      • setServerUptime

        public void setServerUptime​(java.lang.String serverUptime)
      • setServerVersion

        public void setServerVersion​(java.lang.String serverVersion)
      • setClientName

        public void setClientName​(java.lang.String clientName)
      • setClientHost

        public void setClientHost​(java.lang.String clientHost)
      • setClientRoot

        public void setClientRoot​(java.lang.String clientRoot)
      • setClientAddress

        public void setClientAddress​(java.lang.String clientAddress)
      • setPeerAddress

        public void setPeerAddress​(java.lang.String peerAddress)
      • setClientCurrentDirectory

        public void setClientCurrentDirectory​(java.lang.String currentDirectory)
      • setServerLicenseIp

        public void setServerLicenseIp​(java.lang.String serverLicenseIp)
      • setServerEncrypted

        public void setServerEncrypted​(boolean serverEncrypted)
      • getReplica

        public java.lang.String getReplica()
      • setReplica

        public void setReplica​(java.lang.String replica)
      • setUserName

        public void setUserName​(java.lang.String userName)
      • setPasswordEnabled

        public void setPasswordEnabled​(boolean passwordEnabled)
      • setCaseSensitive

        public void setCaseSensitive​(boolean caseSensitive)
      • setMonitorEnabled

        public void setMonitorEnabled​(boolean monitorEnabled)
      • setUnicodeEnabled

        public void setUnicodeEnabled​(boolean unicodeEnabled)
      • setMoveDisabled

        public void setMoveDisabled​(boolean moveDisabled)
      • setProxyVersion

        public void setProxyVersion​(java.lang.String proxyVersion)
      • setProxyAddress

        public void setProxyAddress​(java.lang.String proxyAddress)
      • setProxyRoot

        public void setProxyRoot​(java.lang.String proxyRoot)
      • setProxyEncrypted

        public void setProxyEncrypted​(boolean proxyEncrypted)
      • setBrokerVersion

        public void setBrokerVersion​(java.lang.String brokerVersion)
      • setBrokerAddress

        public void setBrokerAddress​(java.lang.String brokerAddress)
      • setBrokerEncrypted

        public void setBrokerEncrypted​(boolean brokerEncrypted)
      • setSandboxVersion

        public void setSandboxVersion​(java.lang.String sandboxVersion)
      • setSandboxPort

        public void setSandboxPort​(java.lang.String sandboxPort)
      • setServerId

        public void setServerId​(java.lang.String serverId)
      • setServerCluster

        public void setServerCluster​(java.lang.String serverCluster)
      • setIntegEngine

        public void setIntegEngine​(java.lang.String integEngine)
      • setSSOAuth

        public void setSSOAuth​(java.lang.String ssoAuth)