Class FusekiServerCtl

java.lang.Object
org.apache.jena.fuseki.mgt.FusekiServerCtl

public class FusekiServerCtl extends Object
  • Field Details

    • envFusekiBase

      public static final String envFusekiBase
      See Also:
    • envFusekiShiro

      public static final String envFusekiShiro
      See Also:
    • DFT_SHIRO_INI

      public static final String DFT_SHIRO_INI
      See Also:
    • levelFModAdmin

      public static int levelFModAdmin
    • levelFModUI

      public static int levelFModUI
    • levelFModShiro

      public static int levelFModShiro
    • dirDatabases

      public static Path dirDatabases
      Directory for TDB databases - this is known to the assembler templates
    • dirBackups

      public static Path dirBackups
      Directory for writing backups
    • dirConfiguration

      public static Path dirConfiguration
      Directory for assembler files
    • dirLogs

      public static Path dirLogs
      Directory for assembler files
    • dirSystemFileArea

      public static Path dirSystemFileArea
      Directory for files uploaded (e.g upload assembler descriptions); not data uploads.
    • dirTemplates

      public static Path dirTemplates
      Directory for assembler files
    • dftFusekiBase

      public static final String dftFusekiBase
      See Also:
  • Constructor Details

    • FusekiServerCtl

      public FusekiServerCtl(Path location)
  • Method Details

    • get

      public static FusekiServerCtl get(jakarta.servlet.ServletContext cxt)
    • getFusekiBase

      public Path getFusekiBase()
    • setup

      public void setup()
      Set up the area if not already formatted.
    • addGlobals

      public void addGlobals(Map<String,String> params)
    • clearUpSystemState

      public static void clearUpSystemState()
      Running a full-features server sets some global state. Clear this up. (mainly for tests.)
    • datasetNameToConfigurationFile

      public static String datasetNameToConfigurationFile(org.apache.jena.fuseki.servlets.HttpAction action, String dsName)
      Dataset set name to configuration file name. Return a configuration file name - existing one or ".ttl" form if new
    • generateConfigurationFilename

      public static String generateConfigurationFilename(String dsName)
      New configuration file name - absolute filename
    • existingConfigurationFile

      public static List<String> existingConfigurationFile(String baseFilename)
      Return the filenames of all matching files in the configuration directory (absolute paths returned ).