Package org.moeaframework.analysis.tools
Class DataStoreTool
java.lang.Object
org.moeaframework.util.cli.CommandLineUtility
org.moeaframework.analysis.tools.DataStoreTool
Command line utility for accessing a
DataStore
.-
Method Summary
Modifier and TypeMethodDescriptionReturn the commands made available by this command line utility.static void
The main entry point for this command line utility.void
run
(org.apache.commons.cli.CommandLine commandLine) Runs this command line utility with the specified command line arguments.Methods inherited from class org.moeaframework.util.cli.CommandLineUtility
createOutputWriter, createOutputWriter, createOutputWriter, fail, getLocalizedOptions, getOptions, getUsageString, prompt, runCommand, setAcceptConfirmations, setUsageBuilder, showHelp, start
-
Method Details
-
getCommands
Description copied from class:CommandLineUtility
Return the commands made available by this command line utility. The base implementation returns an empty list, indicating no commands are configured.- Overrides:
getCommands
in classCommandLineUtility
- Returns:
- the commands
-
run
Description copied from class:CommandLineUtility
Runs this command line utility with the specified command line arguments.- Specified by:
run
in classCommandLineUtility
- Parameters:
commandLine
- the command line arguments- Throws:
Exception
- if any exception occurred while running this command
-
main
The main entry point for this command line utility.- Parameters:
args
- the command line arguments- Throws:
Exception
- if an error occurred
-