Package org.terrier.applications
Class InteractiveQuerying.Command
- java.lang.Object
-
- org.terrier.applications.CLITool
-
- org.terrier.applications.CLITool.CLIParsedCLITool
-
- org.terrier.applications.AbstractQuerying.AbstractQueryingCommand
-
- org.terrier.applications.InteractiveQuerying.Command
-
- Enclosing class:
- InteractiveQuerying
public static class InteractiveQuerying.Command extends AbstractQuerying.AbstractQueryingCommand
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.terrier.applications.CLITool
CLITool.CLIParsedCLITool, CLITool.HelpAliasCLITool, CLITool.HelpCLITool
-
-
Field Summary
-
Fields inherited from class org.terrier.applications.CLITool
PLATFORM_MODULE, POPULAR_COMMANDS
-
-
Constructor Summary
Constructors Constructor Description Command()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
commandname()
What commandname should this command respond toprotected org.apache.commons.cli.Options
getOptions()
java.lang.String
helpsummary()
Returns a short sentence about what this command is forint
run(org.apache.commons.cli.CommandLine line, AbstractQuerying _querying)
-
Methods inherited from class org.terrier.applications.AbstractQuerying.AbstractQueryingCommand
run, sourcepackage
-
Methods inherited from class org.terrier.applications.CLITool.CLIParsedCLITool
getIndexRef, help, run
-
Methods inherited from class org.terrier.applications.CLITool
commandaliases, main, run, run, setConfiguration
-
-
-
-
Method Detail
-
commandname
public java.lang.String commandname()
Description copied from class:CLITool
What commandname should this command respond to- Overrides:
commandname
in classCLITool
-
helpsummary
public java.lang.String helpsummary()
Description copied from class:CLITool
Returns a short sentence about what this command is for- Overrides:
helpsummary
in classCLITool
-
getOptions
protected org.apache.commons.cli.Options getOptions()
- Overrides:
getOptions
in classAbstractQuerying.AbstractQueryingCommand
-
run
public int run(org.apache.commons.cli.CommandLine line, AbstractQuerying _querying) throws java.lang.Exception
- Specified by:
run
in classAbstractQuerying.AbstractQueryingCommand
- Throws:
java.lang.Exception
-
-