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
FieldsModifier and TypeFieldDescriptionstatic intDefault HTTPS port when running from the command line.static intDefault HTTP port when running from the command line. -
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddArgModule(org.apache.jena.cmd.ArgModuleGeneral argModule) Deprecated, for removal: This API element is subject to removal in a future version.static voidaddCustomiser(FusekiServerArgsCustomiser customiser) Registers a CLI customiserstatic voidaddCustomisers(FusekiModules customiserSet) Registers CLI customisers.static FusekiServerBuild, but do not start, a server based on command line syntax.static FusekiServer.BuilderCreate aFusekiServer.Builderwhich has been setup according to the command line arguments.static voidResets any previously registered CLI customisersstatic voidCreate a server and run, within the same JVM.Methods inherited from class org.apache.jena.cmd.CmdGeneral
add, addModule, getUsage, printHelp, usage, usageMethods inherited from class org.apache.jena.cmd.CmdArgModule
processMethods inherited from class org.apache.jena.cmd.CmdMain
cmdError, cmdError, mainAndExit, mainRun, mainRun, mainRunMethods 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, toStringMethods 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
-
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. -
builder
Create aFusekiServer.Builderwhich has been setup according to the command line arguments. The builder can be further modified. -
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 aFusekiServerArgsCustomiserviaaddCustomiser(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
-
FusekiServerArgsCustomiserviaaddCustomiser(FusekiServerArgsCustomiser)instead.