Class ConfigLocations

java.lang.Object
com.equo.application.client.ConfigLocations

public class ConfigLocations extends Object
The ConfigLocations class manages the configuration directories for various purposes.
  • Constructor Details

    • ConfigLocations

      public ConfigLocations()
  • Method Details

    • overrideCacheHome

      public static void overrideCacheHome(Path newPath)
      Updates the directory path for the cache directory path.
      Parameters:
      newPath - Represents the new path that will be used to override the cache directory path.
    • overrideDataHome

      public static void overrideDataHome(Path newPath)
      Updates the directory path for the data directory path.
      Parameters:
      newPath - Represents the new path that will be used to override the data home directory.
    • overrideStateHome

      public static void overrideStateHome(Path newPath)
      Updates the directory path for the state directory path.
      Parameters:
      newPath - Represents the new path that will be used to override the state directory.
    • overrideRuntimeHome

      public static void overrideRuntimeHome(Path newPath)
      Updates the directory path for the runtime directory path.
      Parameters:
      newPath - Represents the new path that will be used to override the runtime directory.
    • cacheHome

      public static Path cacheHome()
      Returns the path to the cache directory.
      Returns:
      The directory path for the cache directory.
    • dataHome

      public static Path dataHome()
      Returns the path to the data directory.
      Returns:
      The directory path for the data directory.
    • stateHome

      public static Path stateHome()
      Returns the path to the state directory.
      Returns:
      The directory path for the state directory.
    • runtimeHome

      public static Path runtimeHome()
      Returns the path to the runtime directory.
      Returns:
      The directory path for the runtime directory.