Class StorageServerSetup
java.lang.Object
de.iip_ecosphere.platform.deviceMgt.storage.StorageServerSetup
Setup for a server instance to be created on platform start.
- Author:
- Holger Eichelberger, SSE
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the authentication key pointing to the identity store.getPath()Get the local storage path.intgetPort()Get the server port.voidsetAuthenticationKey(String authenticationKey) Set the authentication key pointing to the identity store.voidSet the local storage path.voidsetPort(int port) Set the server port.
-
Field Details
-
port
private int port -
path
-
authenticationKey
-
-
Constructor Details
-
StorageServerSetup
public StorageServerSetup()
-
-
Method Details
-
getPort
public int getPort()Get the server port.- Returns:
- the server port (negative for no server)
-
setPort
public void setPort(int port) Set the server port. [required by SnakeYaml]- Parameters:
port- the port (negative for no server)
-
getPath
Get the local storage path.- Returns:
- the path (null or empty for in-memory)
-
setPath
Set the local storage path. [required by SnakeYaml]- Parameters:
path- the path (null or empty for in-memory)
-
getAuthenticationKey
Get the authentication key pointing to the identity store.- Returns:
- the authentication key, may be null or empty for none
-
setAuthenticationKey
Set the authentication key pointing to the identity store. [required by SnakeYaml]- Parameters:
authenticationKey- the authentication key
-