java.lang.Object
org.apache.jena.fuseki.build.FusekiConfig
Functions to setup and act on the configuration of a Fuseki server
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AuthPolicyallowedUsers(org.apache.jena.graph.Graph graph, org.apache.jena.graph.Node resource) Get the allowed users on a resource.static AuthPolicyallowedUsers(org.apache.jena.rdf.model.Resource server) Deprecated.static DataAccessPointbuildDataAccessPoint(org.apache.jena.graph.Graph configuration, org.apache.jena.graph.Node fusekiService, DatasetDescriptionMap dsDescMap) Build a DataAccessPoint, including DataService, from the description at Resource svcstatic DataAccessPointbuildDataAccessPoint(org.apache.jena.rdf.model.Resource svc, DatasetDescriptionMap dsDescMap) Deprecated.static DataServicebuildDataServiceStd(org.apache.jena.sparql.core.DatasetGraph dsg, boolean withUpdate) static org.apache.jena.graph.NodefindServer(org.apache.jena.graph.Graph graph) static org.apache.jena.rdf.model.ResourcefindServer(org.apache.jena.rdf.model.Model model) Deprecated.static org.apache.jena.sparql.core.DatasetGraphgetDataset(org.apache.jena.graph.Graph configuration, org.apache.jena.graph.Node datasetDesc, DatasetDescriptionMap dsDescMap) static org.apache.jena.query.DatasetgetDataset(org.apache.jena.rdf.model.Resource datasetDesc, DatasetDescriptionMap dsDescMap) Deprecated, for removal: This API element is subject to removal in a future version.static DataService.BuilderpopulateStdServices(DataService.Builder dataServiceBuilder, boolean allowUpdate) Convenience operation to populate aDataServicewith the conventional default services.static voidprocessLoadClass(org.apache.jena.graph.Graph configuration, org.apache.jena.graph.Node server) Legacy support forja:loadClassstatic List<DataAccessPoint>processServerConfiguration(org.apache.jena.graph.Graph configuration, org.apache.jena.sparql.util.Context context) Process a configuration and return theDataAccessPoints; set the context provided for server-wide settings.static List<DataAccessPoint>processServerConfiguration(org.apache.jena.rdf.model.Model configuration, org.apache.jena.sparql.util.Context context) Process a configuration and return theDataAccessPoints; set the context provided for server-wide settings.static List<DataAccessPoint>Read service descriptions in the given directorystatic voidremoveDataset(DataAccessPointRegistry dataAccessPoints, String name) static List<DataAccessPoint>servicesAndDatasets(org.apache.jena.graph.Graph graph) Find and process datasets and services in a configuration file.static List<DataAccessPoint>servicesAndDatasets(org.apache.jena.rdf.model.Model model) Deprecated.
-
Constructor Details
-
FusekiConfig
public FusekiConfig()
-
-
Method Details
-
populateStdServices
public static DataService.Builder populateStdServices(DataService.Builder dataServiceBuilder, boolean allowUpdate) Convenience operation to populate aDataServicewith the conventional default services. -
buildDataServiceStd
public static DataService buildDataServiceStd(org.apache.jena.sparql.core.DatasetGraph dsg, boolean withUpdate) -
removeDataset
-
allowedUsers
Deprecated. -
allowedUsers
public static AuthPolicy allowedUsers(org.apache.jena.graph.Graph graph, org.apache.jena.graph.Node resource) Get the allowed users on a resource. Returns null if the resource is null or if there were no settings.- Returns:
- RequestAuthorization
-
processServerConfiguration
public static List<DataAccessPoint> processServerConfiguration(org.apache.jena.graph.Graph configuration, org.apache.jena.sparql.util.Context context) Process a configuration and return theDataAccessPoints; set the context provided for server-wide settings. This bundles together the steps:findServer(org.apache.jena.rdf.model.Model)parseContext(org.apache.jena.graph.Graph, org.apache.jena.graph.Node)processLoadClass(org.apache.jena.graph.Graph, org.apache.jena.graph.Node)(legacy)servicesAndDatasets(org.apache.jena.graph.Graph)
-
processServerConfiguration
public static List<DataAccessPoint> processServerConfiguration(org.apache.jena.rdf.model.Model configuration, org.apache.jena.sparql.util.Context context) Process a configuration and return theDataAccessPoints; set the context provided for server-wide settings. This bundles together the steps:findServer(org.apache.jena.rdf.model.Model)parseContext(org.apache.jena.graph.Graph, org.apache.jena.graph.Node)processLoadClass(org.apache.jena.graph.Graph, org.apache.jena.graph.Node)(legacy)servicesAndDatasets(org.apache.jena.graph.Graph)
-
findServer
@Deprecated public static org.apache.jena.rdf.model.Resource findServer(org.apache.jena.rdf.model.Model model) Deprecated. -
findServer
public static org.apache.jena.graph.Node findServer(org.apache.jena.graph.Graph graph) -
processLoadClass
public static void processLoadClass(org.apache.jena.graph.Graph configuration, org.apache.jena.graph.Node server) Legacy support forja:loadClass -
servicesAndDatasets
Find and process datasets and services in a configuration file. This can be a Fuseki server configuration file or a services-only configuration file. It looksfuseki:services ( .... )then, if not found, allrtdf:type fuseki:services. -
servicesAndDatasets
@Deprecated public static List<DataAccessPoint> servicesAndDatasets(org.apache.jena.rdf.model.Model model) Deprecated. -
readConfigurationDirectory
Read service descriptions in the given directory -
buildDataAccessPoint
@Deprecated public static DataAccessPoint buildDataAccessPoint(org.apache.jena.rdf.model.Resource svc, DatasetDescriptionMap dsDescMap) Deprecated. -
buildDataAccessPoint
public static DataAccessPoint buildDataAccessPoint(org.apache.jena.graph.Graph configuration, org.apache.jena.graph.Node fusekiService, DatasetDescriptionMap dsDescMap) Build a DataAccessPoint, including DataService, from the description at Resource svc -
getDataset
@Deprecated(forRemoval=true) public static org.apache.jena.query.Dataset getDataset(org.apache.jena.rdf.model.Resource datasetDesc, DatasetDescriptionMap dsDescMap) Deprecated, for removal: This API element is subject to removal in a future version. -
getDataset
public static org.apache.jena.sparql.core.DatasetGraph getDataset(org.apache.jena.graph.Graph configuration, org.apache.jena.graph.Node datasetDesc, DatasetDescriptionMap dsDescMap)
-