Package se.liu.ida.hefquin.cli
Class RunHeFQUINServer
java.lang.Object
org.apache.jena.cmd.CommandLineBase
org.apache.jena.cmd.CmdLineArgs
org.apache.jena.cmd.CmdMain
org.apache.jena.cmd.CmdArgModule
org.apache.jena.cmd.CmdGeneral
se.liu.ida.hefquin.cli.RunHeFQUINServer
public class RunHeFQUINServer
extends org.apache.jena.cmd.CmdGeneral
-
Field Summary
Fields inherited from class org.apache.jena.cmd.CmdGeneral
cmdName, modGeneral, modVersion
Fields inherited from class org.apache.jena.cmd.CmdLineArgs
argMap, args, positionals
-
Constructor Summary
ConstructorDescriptionRunHeFQUINServer
(String[] argv) Constructor that initializes the command-line tool with necessary argument modules for specifying, e.g., federation configuration and engine configuration. -
Method Summary
Modifier and TypeMethodDescriptionprotected void
exec()
Starts up the HeFQUIN servlet using the embedded Jetty server.protected String
Returns the command name used to invoke the tool.protected String
Returns the usage summary string of the command.static void
Main entry point of the tool, accepting command-line arguments to specify the system configuration.static org.eclipse.jetty.server.Server
run
(int port) Methods inherited from class org.apache.jena.cmd.CmdGeneral
add, addModule, getUsage, help, isDebug, isQuiet, isVerbose, printHelp, processModulesAndArgs, usage, usage
Methods inherited from class org.apache.jena.cmd.CmdArgModule
process
Methods inherited from class org.apache.jena.cmd.CmdMain
cmdError, cmdError, mainAndExit, mainMethod, mainRun, mainRun, mainRun
Methods inherited from class org.apache.jena.cmd.CmdLineArgs
add, add, add, addArg, addArg, addPositional, contains, contains, containsMultiple, containsMultiple, getArg, getArg, getNumPositional, getPositional, getPositionalArg, getPositionalOrStdin, getValue, getValue, getValues, getValues, handleUnrecognizedArg, hasArg, hasArg, hasArgs, hasPositional, hasValueOfFalse, hasValueOfTrue, indirect, indirect, matchesIndirect, matchesIndirect, toString
Methods inherited from class org.apache.jena.cmd.CommandLineBase
apply, getArg, getArgList, setArgs
-
Field Details
-
modServer
-
-
Constructor Details
-
RunHeFQUINServer
Constructor that initializes the command-line tool with necessary argument modules for specifying, e.g., federation configuration and engine configuration.- Parameters:
argv
- Command-line arguments.
-
-
Method Details
-
main
Main entry point of the tool, accepting command-line arguments to specify the system configuration.- Parameters:
argv
- Command-line arguments.
-
getSummary
Returns the usage summary string of the command.- Specified by:
getSummary
in classorg.apache.jena.cmd.CmdGeneral
- Returns:
- A string that describes the usage of the command.
-
getCommandName
Returns the command name used to invoke the tool.- Specified by:
getCommandName
in classorg.apache.jena.cmd.CmdMain
- Returns:
- The name of the command.
-
exec
protected void exec()Starts up the HeFQUIN servlet using the embedded Jetty server.- Specified by:
exec
in classorg.apache.jena.cmd.CmdMain
-
run
public static org.eclipse.jetty.server.Server run(int port)
-