Class StorageServerSetup

java.lang.Object
de.iip_ecosphere.platform.deviceMgt.storage.StorageServerSetup

public class StorageServerSetup extends Object
Setup for a server instance to be created on platform start.
Author:
Holger Eichelberger, SSE
  • Field Details

    • port

      private int port
    • path

      private File path
    • authenticationKey

      private String 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

      public File getPath()
      Get the local storage path.
      Returns:
      the path (null or empty for in-memory)
    • setPath

      public void setPath(File path)
      Set the local storage path. [required by SnakeYaml]
      Parameters:
      path - the path (null or empty for in-memory)
    • getAuthenticationKey

      public String getAuthenticationKey()
      Get the authentication key pointing to the identity store.
      Returns:
      the authentication key, may be null or empty for none
    • setAuthenticationKey

      public void setAuthenticationKey(String authenticationKey)
      Set the authentication key pointing to the identity store. [required by SnakeYaml]
      Parameters:
      authenticationKey - the authentication key