public static class TRECQuerying.Command extends AbstractQuerying.AbstractQueryingCommand
CLITool.CLIParsedCLITool, CLITool.HelpAliasCLITool, CLITool.HelpCLITool
POPULAR_COMMANDS
Constructor and Description |
---|
Command() |
Modifier and Type | Method and Description |
---|---|
Set<String> |
commandaliases()
What short commands aliases should this command respond to
|
String |
commandname()
What commandname should this command respond to
|
protected org.apache.commons.cli.Options |
getOptions() |
String |
helpsummary()
Returns a short sentence about what this command is for
|
int |
run(org.apache.commons.cli.CommandLine line,
AbstractQuerying q) |
run
help, run
main, run, run, setConfiguration
protected org.apache.commons.cli.Options getOptions()
getOptions
in class AbstractQuerying.AbstractQueryingCommand
public String commandname()
CLITool
commandname
in class CLITool
public Set<String> commandaliases()
CLITool
commandaliases
in class CLITool
public String helpsummary()
CLITool
helpsummary
in class CLITool
public int run(org.apache.commons.cli.CommandLine line, AbstractQuerying q) throws Exception
run
in class AbstractQuerying.AbstractQueryingCommand
Exception
Terrier Information Retrieval Platform 5.1. Copyright © 2004-2019, University of Glasgow