Class WHOAMI
java.lang.Object
org.jpos.q2.cli.WHOAMI
- All Implemented Interfaces:
CLICommand
CLI command that prints the current OS user.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexec(CLIContext cli, String[] args) Executes the CLI command.
-
Constructor Details
-
WHOAMI
public WHOAMI()Default constructor; no instance state to initialise.
-
-
Method Details
-
exec
Description copied from interface:CLICommandExecutes the CLI command.- Specified by:
execin interfaceCLICommand- Parameters:
cli- the CLI contextargs- command arguments- Throws:
Exception- on error
-