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

public class CpCommand extends ShellCommand
Represent a shell 'cp' command that can be executed using the ShellExecutor
  • Constructor Details

    • CpCommand

      public CpCommand(Path from, Path to)
  • Method Details

    • recursive

      public CpCommand recursive()
      copy directories recursively
      Returns:
      this command
    • 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.