Class RgShellScript

    • Field Detail

      • SEP

        public static final char SEP
      • SHELL_EXEC

        public static final String SHELL_EXEC
      • scriptPath

        protected String scriptPath
    • Constructor Detail

      • RgShellScript

        public RgShellScript()
    • Method Detail

      • getInterpreter

        public String[] getInterpreter()
        Description copied from interface: RgScriptConfig
        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.
        Specified by:
        getInterpreter in interface RgScriptConfig
        Returns:
        Full path to the script interpreter
      • getScriptCmd

        public String[] getScriptCmd()
        Description copied from interface: RgScriptConfig
        Construct command for executing the script, including script configuration options
        Specified by:
        getScriptCmd in interface RgScriptConfig
        Returns:
        Script path and its configuration options as an array of strings, each item for one option/parameter