Class CmdExecutor

java.lang.Object
de.hybris.datasupplier.utils.CmdExecutor

public class CmdExecutor extends Object
Helper class to execute commands in system runtime
  • Constructor Details

    • CmdExecutor

      public CmdExecutor(String confirmationMessage, String... cmds)
      Parameters:
      confirmationMessage - the message which will be used to check status of the execution
      cmds - list of string which will be used to create a command
  • Method Details

    • execute

      public boolean execute()
      Executes command in the runtime
      Returns:
      if the command result includes confirmationMessage true will be returned