Record Class WorkerDescriptor.RenderingServerInfo

java.lang.Object
java.lang.Record
com.priint.pubserverapi.infra.renderingservice.WorkerDescriptor.RenderingServerInfo
Record Components:
appPath - the path of the application / executable on the Rendering Server
cometCachePath - path, where temporary files are stored on the Rendering Server
cometConnection - name of the current connection to the PubServer
cometLogPath - path, where log files are written on the Rendering Server
cometPath - installation path of the Plug-Ins. Only applicable for InDesign Server. For PDF Renderer, this is the same as appPath
cometRevision - revision of the Comet Plugins or Comet PDF that is used on the Rendering Server, e.g., 37015
cometVersion - version of the Comet Plugins or Comet PDF that is used on the Rendering Server, e.g., 5.0
host - name of the host
hostApp - name of the host app, e.g., InDesignServer
ip - the IP of the machine the Rendering Server is running on
licenseInfo - currently not set
processedDocumentCounter - the number of documents that were opened by that Rendering Server instance since its startup
user - operating system user running the Rendering Server Instance
Enclosing class:
WorkerDescriptor

public static record WorkerDescriptor.RenderingServerInfo(String appPath, String cometCachePath, String cometConnection, String cometLogPath, String cometPath, String cometRevision, String cometVersion, String host, String hostApp, String ip, String licenseInfo, long processedDocumentCounter, String user) extends Record
A set of information obtained from a Rendering Server (InDesign Server or PDF Renderer) Instance
  • Constructor Details

    • RenderingServerInfo

      public RenderingServerInfo(String appPath, String cometCachePath, String cometConnection, String cometLogPath, String cometPath, String cometRevision, String cometVersion, String host, String hostApp, String ip, String licenseInfo, long processedDocumentCounter, String user)
      Creates an instance of a RenderingServerInfo record class.
      Parameters:
      appPath - the value for the appPath record component
      cometCachePath - the value for the cometCachePath record component
      cometConnection - the value for the cometConnection record component
      cometLogPath - the value for the cometLogPath record component
      cometPath - the value for the cometPath record component
      cometRevision - the value for the cometRevision record component
      cometVersion - the value for the cometVersion record component
      host - the value for the host record component
      hostApp - the value for the hostApp record component
      ip - the value for the ip record component
      licenseInfo - the value for the licenseInfo record component
      processedDocumentCounter - the value for the processedDocumentCounter record component
      user - the value for the user record component
  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with '=='.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • appPath

      public String appPath()
      Returns the value of the appPath record component.
      Returns:
      the value of the appPath record component
    • cometCachePath

      public String cometCachePath()
      Returns the value of the cometCachePath record component.
      Returns:
      the value of the cometCachePath record component
    • cometConnection

      public String cometConnection()
      Returns the value of the cometConnection record component.
      Returns:
      the value of the cometConnection record component
    • cometLogPath

      public String cometLogPath()
      Returns the value of the cometLogPath record component.
      Returns:
      the value of the cometLogPath record component
    • cometPath

      public String cometPath()
      Returns the value of the cometPath record component.
      Returns:
      the value of the cometPath record component
    • cometRevision

      public String cometRevision()
      Returns the value of the cometRevision record component.
      Returns:
      the value of the cometRevision record component
    • cometVersion

      public String cometVersion()
      Returns the value of the cometVersion record component.
      Returns:
      the value of the cometVersion record component
    • host

      public String host()
      Returns the value of the host record component.
      Returns:
      the value of the host record component
    • hostApp

      public String hostApp()
      Returns the value of the hostApp record component.
      Returns:
      the value of the hostApp record component
    • ip

      public String ip()
      Returns the value of the ip record component.
      Returns:
      the value of the ip record component
    • licenseInfo

      public String licenseInfo()
      Returns the value of the licenseInfo record component.
      Returns:
      the value of the licenseInfo record component
    • processedDocumentCounter

      public long processedDocumentCounter()
      Returns the value of the processedDocumentCounter record component.
      Returns:
      the value of the processedDocumentCounter record component
    • user

      public String user()
      Returns the value of the user record component.
      Returns:
      the value of the user record component