Groovy Documentation

org.linkedin.zookeeper.cli.commands
[Groovy] Class AbstractCommand

java.lang.Object
  org.linkedin.zookeeper.cli.commands.AbstractCommand

abstract class AbstractCommand

Encapsulate some boiler plate code for commands


Field Summary
static java.lang.String MODULE

static java.lang.Object log

 
Method Summary
void doExecute(IZKClient client, groovy.util.OptionAccessor options)

Executes the actual command

int execute(IZKClient client, java.lang.Object args)

CliBuilder getCli()

Gets the cli for the command

 
Methods inherited from class java.lang.Object
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
 

Field Detail

MODULE

public static final java.lang.String MODULE


log

public static final java.lang.Object log


 
Method Detail

doExecute

void doExecute(IZKClient client, groovy.util.OptionAccessor options)
Executes the actual command


execute

int execute(IZKClient client, java.lang.Object args)


getCli

CliBuilder getCli()
Gets the cli for the command


 

Groovy Documentation