public static class TRECQuerying.Command extends AbstractQuerying.AbstractQueryingCommand
CLITool.CLIParsedCLITool, CLITool.HelpAliasCLITool, CLITool.HelpCLITool
PLATFORM_MODULE, POPULAR_COMMANDS
Modifier | Constructor and Description |
---|---|
|
Command()
Deprecated.
|
protected |
Command(Class<? extends TRECQuerying> clz) |
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, sourcepackage
getIndexRef, help, run
main, run, run, setConfiguration
@Deprecated public Command()
protected Command(Class<? extends TRECQuerying> clz)
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.2. Copyright © 2004-2019, University of Glasgow