Class WorkerRemoteConfiguration
- java.lang.Object
-
- fr.gouv.vitam.processing.common.model.WorkerRemoteConfiguration
-
public class WorkerRemoteConfiguration extends java.lang.Object
Worker remote configuration : contains the properties used to create a worker client.
-
-
Constructor Summary
Constructors Constructor Description WorkerRemoteConfiguration(java.lang.String serverHost, int serverPort)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getServerHost()
int
getServerPort()
WorkerRemoteConfiguration
setServerHost(java.lang.String serverHost)
WorkerRemoteConfiguration
setServerPort(int serverPort)
java.lang.String
toString()
toString : get the worker remote configuration
-
-
-
Method Detail
-
getServerHost
public java.lang.String getServerHost()
- Returns:
- the serverHost
-
setServerHost
public WorkerRemoteConfiguration setServerHost(java.lang.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 java.lang.String toString()
toString : get the worker remote configuration- Overrides:
toString
in classjava.lang.Object
-
-