Class ECHO

java.lang.Object
org.jpos.q2.cli.ECHO
All Implemented Interfaces:
CLICommand

public class ECHO extends Object implements CLICommand
CLI command that prints its argument back to the console.
  • Constructor Details

    • ECHO

      public ECHO()
      Default constructor; no instance state to initialise.
  • Method Details

    • exec

      public void exec(CLIContext cli, String[] args)
      Description copied from interface: CLICommand
      Executes the CLI command.
      Specified by:
      exec in interface CLICommand
      Parameters:
      cli - the CLI context
      args - command arguments