Class Lxc


  • public class Lxc
    extends de.iip_ecosphere.platform.ecsRuntime.EcsSetup.AbstractManagerSetup
    Implements the LXC specific configuration.
    Author:
    Luca Schulz, SSE
    • Constructor Summary

      Constructors 
      Constructor Description
      Lxc()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getDownloadDirectory()
      Returns the download directory.
      java.lang.String getLxcHost()
      Returns the LXC host.
      java.lang.String getLxcImageYamlFilename()
      Returns the name of the Yaml file with information about the LXC Image.
      java.lang.String getLxcPort()
      Returns the LXC port.
      void setDownloadDirectory​(java.lang.String directory)
      Defines the download directory.
      void setLxcHost​(java.lang.String lxcHost)
      Defines the LXC host.
      void setLxcImageYamlFilename​(java.lang.String filename)
      Defines the standard name of the Yaml file with a information about the LXC Image.
      void setLxcPort​(java.lang.String lxcPort)
      Defines the LXC port.
      • Methods inherited from class de.iip_ecosphere.platform.ecsRuntime.EcsSetup.AbstractManagerSetup

        getAuthenticationKey, setAuthenticationKey
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • lxcHost

        private java.lang.String lxcHost
      • lxcPort

        private java.lang.String lxcPort
      • lxcImageYamlFilename

        private java.lang.String lxcImageYamlFilename
      • downloadDirectory

        private java.lang.String downloadDirectory
    • Constructor Detail

      • Lxc

        public Lxc()
    • Method Detail

      • getLxcPort

        public java.lang.String getLxcPort()
        Returns the LXC port.
        Returns:
        the LXC port as LXC port string, e.g., port
      • setLxcPort

        public void setLxcPort​(java.lang.String lxcPort)
        Defines the LXC port.
        Parameters:
        lxcPort - the port lxc is listening on
      • getLxcHost

        public java.lang.String getLxcHost()
        Returns the LXC host.
        Returns:
        the LXChost as LXC host string, e.g., localhost
      • setLxcHost

        public void setLxcHost​(java.lang.String lxcHost)
        Defines the LXC host.
        Parameters:
        lxcHost - the LXC host as LXC host string, e.g., localhost
      • getLxcImageYamlFilename

        public java.lang.String getLxcImageYamlFilename()
        Returns the name of the Yaml file with information about the LXC Image.
        Returns:
        lxcImageYamlFilename of the Yaml file
      • setLxcImageYamlFilename

        public void setLxcImageYamlFilename​(java.lang.String filename)
        Defines the standard name of the Yaml file with a information about the LXC Image.
        Parameters:
        filename - the name of the Yaml file
      • setDownloadDirectory

        public void setDownloadDirectory​(java.lang.String directory)
        Defines the download directory.
        Parameters:
        directory - the directory
      • getDownloadDirectory

        public java.lang.String getDownloadDirectory()
        Returns the download directory. If the configured download directory is null or empty, it returns the system temporary directory.
        Returns:
        downloadDirectory, the system temporary directory if none is specified