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

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

    • EchoCommand

      public EchoCommand(String echoMessage)
  • 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.
    • toString

      public String toString()
      Overrides:
      toString in class ShellCommand