Class ProcessCommand

java.lang.Object
de.hybris.platform.mediaconversion.os.ProcessCommand
All Implemented Interfaces:
Serializable

public class ProcessCommand extends Object implements Serializable
Command line parameters and environment used for process execution.
See Also:
  • Method Details

    • getCommand

      public String[] getCommand()
      Accesses the actual command to call and it's arguments.
      Returns:
      the command as array
      See Also:
    • getEnvironment

      public String[] getEnvironment()
      Accesses environment variables to set when executing the command.
      Returns:
      the environment variable to set (or null if the all environment variables should be inherited from the executing JVM).
      See Also:
    • getDirectory

      public File getDirectory()
      Accesses the directory in which the command is executed.
      Returns:
      the directory in which the process is executed (or null if the working directory should be inherited from the executing JVM).