Class Federate
- java.lang.Object
-
- org.eclipse.rdf4j.console.command.ConsoleCommand
-
- org.eclipse.rdf4j.console.command.Federate
-
public class Federate extends ConsoleCommand
Implements the 'federate' command for the RDF4J Console.- Author:
- Dale Visser
-
-
Field Summary
-
Fields inherited from class org.eclipse.rdf4j.console.command.ConsoleCommand
LOGGER
-
-
Constructor Summary
Constructors Constructor Description Federate(ConsoleIO consoleIO, ConsoleState state)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute(String... parameters)
Executes a 'federate' command for the RDF4J Console.String
getHelpLong()
Get long descriptionString
getHelpShort()
Get short description, small enough to fit on one console rowString
getName()
Get the name of the command-
Methods inherited from class org.eclipse.rdf4j.console.command.ConsoleCommand
askProceed, getConsoleIO, getConsoleSettings, getConsoleState, usesSettings, write, writeError, writeError, writeInfo, writeln, writeUnopenedError
-
-
-
-
Constructor Detail
-
Federate
public Federate(ConsoleIO consoleIO, ConsoleState state)
Constructor- Parameters:
consoleIO
-state
-
-
-
Method Detail
-
getName
public String getName()
Description copied from interface:Help
Get the name of the command- Returns:
- string
-
getHelpShort
public 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
public 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
public void execute(String... parameters) throws IOException
Executes a 'federate' command for the RDF4J Console.- Specified by:
execute
in interfaceCommand
- Overrides:
execute
in classConsoleCommand
- Parameters:
parameters
- the expectations for the tokens in this array are fully documented inPrintHelp
.- Throws:
IOException
-
-