public final class JkLocator
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
GLOBAL_PROPERTIES_FILENAME |
Constructor and Description |
---|
JkLocator() |
Modifier and Type | Method and Description |
---|---|
static java.nio.file.Path |
getCacheDir() |
static java.nio.file.Path |
getCachedUrlContentDir() |
static java.nio.file.Path |
getGlobalPropertiesFile() |
static java.nio.file.Path |
getJekaHomeDir()
Returns the directory where is installed the running Jeka instance.
|
static java.nio.file.Path |
getJekaJarPath()
Returns the Jeka jar file currently used in the running process.
|
static java.nio.file.Path |
getJekaRepositoryCache()
Returns the location of the artifact repository cache.
|
static java.nio.file.Path |
getJekaUserHomeDir()
Returns the Jeka user directory.
|
static boolean |
isJekaProject(java.nio.file.Path baseDir)
Determines whether the specified directory is a Jeka project.
|
public static final java.lang.String GLOBAL_PROPERTIES_FILENAME
public static java.nio.file.Path getJekaJarPath()
public static java.nio.file.Path getJekaHomeDir()
public static java.nio.file.Path getJekaUserHomeDir()
public static java.nio.file.Path getGlobalPropertiesFile()
public static java.nio.file.Path getJekaRepositoryCache()
public static java.nio.file.Path getCacheDir()
public static java.nio.file.Path getCachedUrlContentDir()
public static boolean isJekaProject(java.nio.file.Path baseDir)
baseDir
- the base directory to check, which must not be null