Package com.equo.application.client
Class ConfigLocations
java.lang.Object
com.equo.application.client.ConfigLocations
The
ConfigLocations
class manages the configuration directories for various purposes.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Path
Returns the path to the cache directory.static Path
dataHome()
Returns the path to the data directory.static void
overrideCacheHome
(Path newPath) Updates the directory path for the cache directory path.static void
overrideDataHome
(Path newPath) Updates the directory path for the data directory path.static void
overrideRuntimeHome
(Path newPath) Updates the directory path for the runtime directory path.static void
overrideStateHome
(Path newPath) Updates the directory path for the state directory path.static Path
Returns the path to the runtime directory.static Path
Returns the path to the state directory.
-
Constructor Details
-
ConfigLocations
public ConfigLocations()
-
-
Method Details
-
overrideCacheHome
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
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
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
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
Returns the path to the cache directory.- Returns:
- The directory path for the cache directory.
-
dataHome
Returns the path to the data directory.- Returns:
- The directory path for the data directory.
-
stateHome
Returns the path to the state directory.- Returns:
- The directory path for the state directory.
-
runtimeHome
Returns the path to the runtime directory.- Returns:
- The directory path for the runtime directory.
-