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
arq.cmdline.CmdARQ
org.apache.jena.fuseki.main.cmds.FusekiMain
public class FusekiMain
extends arq.cmdline.CmdARQ
-
Field Summary
Modifier and TypeFieldDescriptionstatic int
Default HTTPS port when running from the command line.static int
Default HTTP port when running from the command line. -
Method Summary
Modifier and TypeMethodDescriptionstatic void
addArgModule
(org.apache.jena.cmd.ArgModuleGeneral argModule) Deprecated, for removal: This API element is subject to removal in a future version.static void
addCustomiser
(FusekiServerArgsCustomiser customiser) Registers a CLI customiserstatic void
addCustomisers
(FusekiModules customiserSet) Registers CLI customisers.static FusekiServer
Build, but do not start, a server based on command line syntax.static FusekiServer.Builder
Create aFusekiServer.Builder
which has been setup according to the command line arguments.static void
Resets any previously registered CLI customisersstatic void
Create a server and run, within the same JVM.Methods inherited from class org.apache.jena.cmd.CmdGeneral
add, addModule, getUsage, printHelp, usage, usage
Methods inherited from class org.apache.jena.cmd.CmdArgModule
process
Methods inherited from class org.apache.jena.cmd.CmdMain
cmdError, cmdError, mainAndExit, mainRun, mainRun, mainRun
Methods inherited from class org.apache.jena.cmd.CmdLineArgs
add, add, add, addArg, addArg, addPositional, clear, contains, contains, containsMultiple, containsMultiple, getArg, getArg, getNumPositional, getPositional, getPositionalArg, getPositionalOrStdin, getValue, getValue, getValues, getValues, hasArg, hasArg, hasArgs, hasPositional, hasValueOfFalse, hasValueOfTrue, indirect, indirect, matchesIndirect, matchesIndirect, removeArg, removeArg, removeArgAll, reset, toString
Methods inherited from class org.apache.jena.cmd.CommandLineBase
setArgs
-
Field Details
-
defaultPort
public static int defaultPortDefault HTTP port when running from the command line. -
defaultHttpsPort
public static int defaultHttpsPortDefault HTTPS port when running from the command line.
-
-
Method Details
-
builder
Create aFusekiServer.Builder
which has been setup according to the command line arguments. The builder can be further modified. -
build
Build, but do not start, a server based on command line syntax. -
run
Create a server and run, within the same JVM. This is the command line entry point. This function does not return. See alsobuild(java.lang.String...)
to create and return a server. -
addArgModule
@Deprecated(forRemoval=true) public static void addArgModule(org.apache.jena.cmd.ArgModuleGeneral argModule) Deprecated, for removal: This API element is subject to removal in a future version.Register aFusekiServerArgsCustomiser
viaaddCustomiser(FusekiServerArgsCustomiser)
instead.Registers a custom arguments module. -
addCustomiser
Registers a CLI customiserA CLI customiser can add one/more custom arguments into the Fuseki Server CLI arguments and then can apply those to the Fuseki server being built during the processing of
processModulesAndArgs()
. This allows for custom arguments that directly affect how the Fuseki server is built to be created.- Parameters:
customiser
- CLI customiser
-
addCustomisers
Registers CLI customisers.CLI customisers can add one/more custom arguments into the Fuseki Server CLI arguments and then can apply those to the Fuseki server being built during the processing of
processModulesAndArgs()
. This allows for custom arguments that directly affect how the Fuseki server is built to be created. -
resetCustomisers
public static void resetCustomisers()Resets any previously registered CLI customisers
-
FusekiServerArgsCustomiser
viaaddCustomiser(FusekiServerArgsCustomiser)
instead.