Class Close
java.lang.Object
org.eclipse.rdf4j.console.command.ConsoleCommand
org.eclipse.rdf4j.console.command.Close
Close command
- Author:
- Dale Visser
-
Field Summary
Fields inherited from class org.eclipse.rdf4j.console.command.ConsoleCommand
LOGGER
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
closeRepository
(boolean verbose) Close repositoryvoid
Execute the given parameters.Get long descriptionGet short description, small enough to fit on one console rowgetName()
Get the name of the commandMethods inherited from class org.eclipse.rdf4j.console.command.ConsoleCommand
askProceed, getConsoleIO, getConsoleSettings, getConsoleState, usesSettings, write, writeError, writeError, writeInfo, writeln, writeUnopenedError
-
Constructor Details
-
Close
Constructor- Parameters:
consoleIO
-state
-
-
-
Method Details
-
getName
Description copied from interface:Help
Get the name of the command- Returns:
- string
-
getHelpShort
Description copied from class:ConsoleCommand
Get short description, small enough to fit on one console row- Specified by:
getHelpShort
in interfaceHelp
- Overrides:
getHelpShort
in classConsoleCommand
- Returns:
- help string
-
getHelpLong
Description copied from class:ConsoleCommand
Get long description- Specified by:
getHelpLong
in interfaceHelp
- Overrides:
getHelpLong
in classConsoleCommand
- Returns:
- string, can be multiple lines
-
execute
Description copied from interface:Command
Execute the given parameters.- Specified by:
execute
in interfaceCommand
- Overrides:
execute
in classConsoleCommand
- Parameters:
tokens
- parameters typed by user
-
closeRepository
protected void closeRepository(boolean verbose) Close repository- Parameters:
verbose
- print more information
-