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 | Field and Description |
---|---|
static String |
ENVIRONMENT_HEAP_KEY
Key to retrieve an
Environment instance from the Heap . |
Modifier and Type | Method and Description |
---|---|
File |
getBaseDirectory()
Returns the base directory of the OpenIG 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 OpenIG (where we have read+write permissions).
|
static final String ENVIRONMENT_HEAP_KEY
Environment
instance from the Heap
.File getBaseDirectory()
File getTempDirectory()
File getScriptDirectory(String type)
type
- script's type (could be groovy or js)File getConfigDirectory()
Copyright © 2014 ForgeRock AS. All rights reserved.