java.lang.Object
org.variantsync.studies.evolution.simulation.shell.ShellCommand
org.variantsync.studies.evolution.simulation.shell.RmCommand

public class RmCommand extends ShellCommand
Represents a shell 'rm' command that can be executed using a ShellExecutor
  • Constructor Details

    • RmCommand

      public RmCommand(Path file)
    • RmCommand

      public RmCommand(String file)
  • Method Details

    • parts

      public String[] parts()
      Description copied from class: ShellCommand
      Return the String parts that define and configure the command execution (e.g., ["echo", "Hello World"])
      Specified by:
      parts in class ShellCommand
      Returns:
      the parts of the shell command.
    • recursive

      public RmCommand recursive()