org.apache.whirr.cli.command
Class ListClusterCommand
java.lang.Object
org.apache.whirr.command.Command
org.apache.whirr.command.AbstractClusterCommand
org.apache.whirr.cli.command.ListClusterCommand
public class ListClusterCommand
- extends AbstractClusterCommand
A command to list the nodes in a cluster.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ListClusterCommand
public ListClusterCommand()
throws IOException
- Throws:
IOException
ListClusterCommand
public ListClusterCommand(ClusterControllerFactory factory)
ListClusterCommand
public ListClusterCommand(ClusterControllerFactory factory,
ClusterStateStoreFactory stateStoreFactory)
run
public int run(InputStream in,
PrintStream out,
PrintStream err,
List<String> args)
throws Exception
- Specified by:
run
in class Command
- Throws:
Exception
run
public int run(InputStream in,
PrintStream out,
PrintStream err,
ClusterSpec clusterSpec)
throws Exception
- Throws:
Exception
Copyright © 2010-2013 The Apache Software Foundation. All Rights Reserved.