public interface Environment
config/config.json
scripts/groovy/**.groovy
tmp/
This interface provides an abstraction over the directory layout to protect against changes of naming, ...Modifier and Type | Method and Description |
---|---|
File |
getBaseDirectory()
Returns the base directory of the IG file system.
|
File |
getConfigDirectory()
Returns the directory that contains the configuration files.
|
File |
getScriptDirectory(String type)
Returns the directory that contains the files of the given type.
|
File |
getTempDirectory()
Returns the temporary directory of IG (where we have read+write permissions).
|
File getBaseDirectory()
File getTempDirectory()
File getScriptDirectory(String type)
type
- script's type (could be groovy or js)File getConfigDirectory()
Copyright 2011-2017 ForgeRock AS.