public interface IMdacConfiguration
Module configuration provide access to module parameter and resource paths.
Modifier and Type | Method and Description |
---|---|
List<File> |
getDocpath()
Returns the documentation path.
|
File |
getModuleResourcesPath()
Get the path where the files packaged with the module were deployed.
|
Map<String,String> |
getParameters()
Get all parameter values.
|
String |
getParameterValue(String key)
Get the value of the parameter identified by the given
key . |
File |
getProjectSpacePath()
Get the directory where the project is located.
|
File |
getWorkspacePath()
Get the workspace path.
|
void |
setParameterValue(String key,
String value)
Set the value of a parameter.
|
void |
updateFrom(Map<String,String> parameters)
Update the mdac parameters with the given ones.
|
String getParameterValue(String key)
key
.Returns null if the key does not exist
key
- Key of the parameterkey
parameter (or null)Map<String,String> getParameters()
void setParameterValue(String key, String value)
key
- Key of the parametervalue
- Value to define on the parametervoid updateFrom(Map<String,String> parameters)
parameters
- The new module parameter values.File getWorkspacePath()
File getProjectSpacePath()
File getModuleResourcesPath()