Class Disconnect
java.lang.Object
org.eclipse.rdf4j.console.command.ConsoleCommand
org.eclipse.rdf4j.console.command.Disconnect
-
Field Summary
Fields inherited from class ConsoleCommand
LOGGER -
Constructor Summary
ConstructorsConstructorDescriptionDisconnect(ConsoleIO consoleIO, ConsoleState state, Close close) Constructor -
Method Summary
Methods inherited from class ConsoleCommand
askProceed, getConsoleIO, getConsoleSettings, getConsoleState, usesSettings, write, writeError, writeError, writeInfo, writeln, writeUnopenedErrorModifier and TypeMethodDescriptionprotected booleanaskProceed(String str, boolean defVal) Ask user to proceedGet console IOGet console settings mapGet console stateString[]Return the names of the settings used.protected voidWrite a string to the consoleprotected voidwriteError(String str) Write a string + newline to the console and to the log as an errorprotected voidwriteError(String str, Exception e) Write a string + message of exception + newline to the console and to the log as an errorprotected voidWrite a string + newline to the console and to the log at level INFOprotected voidWrite a string + newline to the consoleprotected voidWrite repository not opened error
-
Constructor Details
-
Disconnect
Constructor- Parameters:
consoleIO-state-close-
-
-
Method Details
-
getName
-
getHelpShort
Description copied from class:ConsoleCommandGet short description, small enough to fit on one console row- Specified by:
getHelpShortin interfaceHelp- Overrides:
getHelpShortin classConsoleCommand- Returns:
- help string
-
getHelpLong
Description copied from class:ConsoleCommandGet long description- Specified by:
getHelpLongin interfaceHelp- Overrides:
getHelpLongin classConsoleCommand- Returns:
- string, can be multiple lines
-
execute
public void execute(boolean verbose) Execute the command- Parameters:
verbose-
-
execute
-