org.apache.whirr.cli.command
Class VersionCommand

java.lang.Object
  extended by org.apache.whirr.command.Command
      extended by org.apache.whirr.cli.command.VersionCommand

public class VersionCommand
extends Command


Constructor Summary
VersionCommand()
           
 
Method Summary
 void printUsage(PrintStream stream)
           
 int run(InputStream in, PrintStream out, PrintStream err, List<String> args)
           
 
Methods inherited from class org.apache.whirr.command.Command
getDescription, getName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VersionCommand

public VersionCommand()
Method Detail

run

public int run(InputStream in,
               PrintStream out,
               PrintStream err,
               List<String> args)
        throws Exception
Specified by:
run in class Command
Throws:
Exception

printUsage

public void printUsage(PrintStream stream)
                throws IOException
Specified by:
printUsage in class Command
Throws:
IOException


Copyright © 2010-2013 The Apache Software Foundation. All Rights Reserved.