public abstract class Command extends Object
Modifier and Type | Method and Description |
---|---|
protected abstract org.apache.commons.cli.Options |
createOptions() |
void |
execute(String[] args) |
protected abstract void |
executeImpl(String[] args,
org.apache.commons.cli.CommandLine cl) |
String |
getCommandName() |
protected void |
usage(String[] args) |
public Command(String command)
protected abstract org.apache.commons.cli.Options createOptions()
public String getCommandName()
public void execute(String[] args)
protected abstract void executeImpl(String[] args, org.apache.commons.cli.CommandLine cl)
protected void usage(String[] args)
Copyright © 2009–2014 DuraSpace. All rights reserved.