org.ow2.petals.cli.shell.command
Class Exit

java.lang.Object
  extended by org.ow2.petals.cli.shell.command.Command
      extended by org.ow2.petals.cli.shell.command.Exit

public class Exit
extends Command

This command exits the current shell with an exit code

Author:
sandre

Constructor Summary
Exit(Shell shell)
           
 
Method Summary
 void execute(java.lang.String[] args)
           
 
Methods inherited from class org.ow2.petals.cli.shell.command.Command
checkArguments, checkArguments, getDescription, getName, getShell, getUsage, setDescription, setUsage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Exit

public Exit(Shell shell)
Method Detail

execute

public void execute(java.lang.String[] args)
             throws CommandException
Specified by:
execute in class Command
Throws:
CommandException


Copyright © 2005-2011 Petals Link (EBM Websourcing). All Rights Reserved.