Interface RgScriptConfig

    • Method Detail

      • getInterpreter

        String[] getInterpreter()
        Provides path to interpreter of this script, e.g. /bin/bash, eventually with parameters like /bin/bash -x. As it can contain also interpreter parameters, it's represented by the array. The first item of the array is always path to interpreter binary.
        Returns:
        Full path to the script interpreter
      • getScriptName

        String getScriptName()
        Name of the script, without full path.
        Returns:
        Script file name
      • getScriptCmd

        String[] getScriptCmd()
        Construct command for executing the script, including script configuration options
        Returns:
        Script path and its configuration options as an array of strings, each item for one option/parameter
      • getScriptPath

        String getScriptPath()
      • withScriptPath

        RgScriptConfig withScriptPath​(String scriptPath)
        Parameters:
        scriptPath - Full path to the script, does include script name itself