Class WorkerRemoteConfiguration

java.lang.Object
fr.gouv.vitam.processing.common.model.WorkerRemoteConfiguration

public class WorkerRemoteConfiguration extends Object
Worker remote configuration : contains the properties used to create a worker client.
  • Constructor Details

    • WorkerRemoteConfiguration

      public WorkerRemoteConfiguration(String serverHost, int serverPort)
      Parameters:
      serverHost - : the worker server host
      serverPort - : the worker server port
  • Method Details

    • getServerHost

      public String getServerHost()
      Returns:
      the serverHost
    • setServerHost

      public WorkerRemoteConfiguration setServerHost(String serverHost)
      Parameters:
      serverHost - the serverHost to set
      Returns:
      this
    • getServerPort

      public int getServerPort()
      Returns:
      the serverPort
    • setServerPort

      public WorkerRemoteConfiguration setServerPort(int serverPort)
      Parameters:
      serverPort - the serverPort to set
      Returns:
      this
    • toString

      public String toString()
      toString : get the worker remote configuration
      Overrides:
      toString in class Object