Class AbstractRunnablesService

    • Constructor Detail

      • AbstractRunnablesService

        public AbstractRunnablesService​(java.lang.String serviceId,
                                        java.io.InputStream ymlFile)
        Creates a service from a service id and a YAML artifact.
        Parameters:
        serviceId - the service id
        ymlFile - the YML file containing the YAML artifact with the service descriptor
      • AbstractRunnablesService

        public AbstractRunnablesService​(YamlService yaml)
        Creates a service from YAML information.
        Parameters:
        yaml - the service information as read from YAML. By default, the Python executable is "ServiceEnvironment.py", which can be overridden by YamlProcess.getExecutable(). YamlProcess.getHomePath() is set to the home path where the executable was extracted to. Further, YamlProcess.getCmdArg() are taken over if given.