public interface IModuleUserConfiguration
Available only on IModule.
| Modifier and Type | Method and Description |
|---|---|
java.util.List<java.nio.file.Path> |
getDocpath()
Returns the documentation path.
|
java.nio.file.Path |
getModuleResourcesPath()
Get the path where the files packaged with the module were deployed.
|
java.util.Map<java.lang.String,java.lang.String> |
getParameters()
Get all parameter values.
|
IConfigParamValidator |
getParameterValidator(java.lang.String paramName) |
java.lang.String |
getParameterValue(java.lang.String key)
Get the value of the parameter identified by the given
key. |
java.util.Map<java.lang.String,java.nio.file.Path> |
getStylePath()
Returns the style path.
|
boolean |
isLocked(java.lang.String key)
Get the lock status of the parameter identified by the given
key. |
void |
setParameterValidator(java.lang.String paramName,
IConfigParamValidator validator) |
boolean |
setParameterValue(java.lang.String key,
java.lang.String value)
Set the value of a parameter.
|
void |
updateFrom(java.util.Map<java.lang.String,java.lang.String> parameters)
Update the mdac parameters with the given ones.
|
void setParameterValidator(java.lang.String paramName,
IConfigParamValidator validator)
java.lang.String getParameterValue(java.lang.String key)
key.Returns null if the key does not exist
key - Key of the parameterkey parameter (or null)java.util.Map<java.lang.String,java.lang.String> getParameters()
boolean setParameterValue(java.lang.String key,
java.lang.String value)
key - Key of the parametervalue - Value to define on the parametertrue if the parameter is only locally defined.void updateFrom(java.util.Map<java.lang.String,java.lang.String> parameters)
parameters - The new module parameter values.java.nio.file.Path getModuleResourcesPath()
java.util.List<java.nio.file.Path> getDocpath()
IConfigParamValidator getParameterValidator(java.lang.String paramName)
boolean isLocked(java.lang.String key)
key.A parameter is locked when defined by a Modelio server.
key - Key of the parameterjava.util.Map<java.lang.String,java.nio.file.Path> getStylePath()