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
    Modifier and Type
    Field
    Description
    protected final ModServer
     

    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

    Constructors
    Constructor
    Description
    Constructor that initializes the command-line tool with necessary argument modules for specifying, e.g., federation configuration and engine configuration.
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    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(String[] args)
    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • modServer

      protected final ModServer modServer
  • Constructor Details

    • RunHeFQUINServer

      public RunHeFQUINServer(String[] argv)
      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

      public static void main(String[] args)
      Main entry point of the tool, accepting command-line arguments to specify the system configuration.
      Parameters:
      argv - Command-line arguments.
    • getSummary

      protected String getSummary()
      Returns the usage summary string of the command.
      Specified by:
      getSummary in class org.apache.jena.cmd.CmdGeneral
      Returns:
      A string that describes the usage of the command.
    • getCommandName

      protected String getCommandName()
      Returns the command name used to invoke the tool.
      Specified by:
      getCommandName in class org.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 class org.apache.jena.cmd.CmdMain
    • run

      public static org.eclipse.jetty.server.Server run(int port)