|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.rhq.augeas.config.AugeasConfigurationSimple
public class AugeasConfigurationSimple
Basic implementation of the AugeasConfiguration.
| Constructor Summary | |
|---|---|
AugeasConfigurationSimple()
|
|
| Method Summary | |
|---|---|
void |
addModuleConfig(AugeasModuleConfig config)
|
String |
getLoadPath()
|
int |
getMode()
|
AugeasModuleConfig |
getModuleByName(String name)
|
List<AugeasModuleConfig> |
getModules()
|
String |
getRootPath()
|
void |
loadFiles()
Checks that all the files to be loaded, specified by the modules, exist. |
void |
setLoadPath(String loadPath)
Sets the path to the Augeas lenses directory. |
void |
setMode(int mode)
Sets the Augeas load mode. |
void |
setModules(List<AugeasModuleConfig> modules)
Sets the modules to use. |
void |
setRootPath(String rootPath)
Sets the path to the file system root used by Augeas. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AugeasConfigurationSimple()
| Method Detail |
|---|
public void setLoadPath(String loadPath)
loadPath - public void setMode(int mode)
mode - Augeas#Augeas(int)}public void setRootPath(String rootPath)
rootPath - public void setModules(List<AugeasModuleConfig> modules)
modules - public String getLoadPath()
getLoadPath in interface AugeasConfigurationpublic int getMode()
getMode in interface AugeasConfigurationAugeas#Augeas(int)}public List<AugeasModuleConfig> getModules()
getModules in interface AugeasConfigurationpublic String getRootPath()
getRootPath in interface AugeasConfigurationpublic void addModuleConfig(AugeasModuleConfig config)
public AugeasModuleConfig getModuleByName(String name)
getModuleByName in interface AugeasConfigurationpublic void loadFiles()
loadFiles in interface AugeasConfigurationAugeasConfiguration.loadFiles()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||