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
FieldsFields inherited from class org.apache.jena.cmd.CmdGeneral
cmdName, modGeneral, modVersionFields inherited from class org.apache.jena.cmd.CmdLineArgs
argMap, args, positionals -
Constructor Summary
ConstructorsConstructorDescriptionRunHeFQUINServer(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 voidexec()Starts up the HeFQUIN servlet using the embedded Jetty server.protected StringReturns the command name used to invoke the tool.protected StringReturns the usage summary string of the command.static voidMain entry point of the tool, accepting command-line arguments to specify the system configuration.static org.eclipse.jetty.server.Serverrun(int port) Methods inherited from class org.apache.jena.cmd.CmdGeneral
add, addModule, getUsage, help, isDebug, isQuiet, isVerbose, printHelp, processModulesAndArgs, usage, usageMethods inherited from class org.apache.jena.cmd.CmdArgModule
processMethods inherited from class org.apache.jena.cmd.CmdMain
cmdError, cmdError, mainAndExit, mainMethod, mainRun, mainRun, mainRunMethods 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, toStringMethods 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:
getSummaryin 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:
getCommandNamein 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:
execin classorg.apache.jena.cmd.CmdMain
-
run
public static org.eclipse.jetty.server.Server run(int port)
-