public abstract class EnvironmentDelegate extends Object implements Environment
ENVIRONMENT_HEAP_KEY
Constructor and Description |
---|
EnvironmentDelegate() |
Modifier and Type | Method and Description |
---|---|
protected abstract Environment |
delegate()
Returns the environment delegatee.
|
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).
|
public EnvironmentDelegate()
protected abstract Environment delegate()
public File getBaseDirectory()
Environment
getBaseDirectory
in interface Environment
public File getTempDirectory()
Environment
getTempDirectory
in interface Environment
public File getScriptDirectory(String type)
Environment
getScriptDirectory
in interface Environment
type
- script's type (could be groovy or js)public File getConfigDirectory()
Environment
getConfigDirectory
in interface Environment
Copyright © 2014 ForgeRock AS. All rights reserved.