|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--com.lonniepryor.blues.cfg.IncludeCfgImpl
Generic implementation of IncludeCfg.
| Nested Class Summary | |
static class |
IncludeCfgImpl.SetVariableCfg
Child element for setting variable refrences. |
| Constructor Summary | |
IncludeCfgImpl()
Creates a new IncludeCfgImpl object. |
|
| Method Summary | |
void |
declareSetVariable(IncludeCfgImpl.SetVariableCfg variable)
Declares a variable name/refrence pair on this include. |
ModuleCfg |
getIncludedModule()
Returns the included module. |
java.lang.String |
getModulePath()
Returns the path to the module configuration file. |
java.lang.String |
getName()
Returns the name of this include. |
java.lang.String[] |
getVariableNames()
Returns all of the variable names declared in this include. |
java.lang.String |
getVariableRefrence(java.lang.String variableName)
Returns the refrence to use for the specified variable name. |
void |
initIncludedModule(ModuleCfg module)
Initalizes the refrence to the included module once it is loaded. |
void |
setName(java.lang.String name)
Sets the name given to the module to include. |
void |
setPath(java.lang.String modulePath)
Sets the path to the module configuration. |
void |
verify()
Verifies the state of this configuration element. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public IncludeCfgImpl()
| Method Detail |
public void setName(java.lang.String name)
name - The name given to the module to include.public void setPath(java.lang.String modulePath)
modulePath - The path to the module configuration.public void declareSetVariable(IncludeCfgImpl.SetVariableCfg variable)
variable - The variable configuration.public void verify()
Verifiable
verify in interface Verifiablepublic java.lang.String getName()
IncludeCfg
getName in interface IncludeCfgpublic java.lang.String getModulePath()
IncludeCfg
getModulePath in interface IncludeCfgpublic java.lang.String[] getVariableNames()
IncludeCfg
getVariableNames in interface IncludeCfgpublic java.lang.String getVariableRefrence(java.lang.String variableName)
IncludeCfg
getVariableRefrence in interface IncludeCfgvariableName - The name of the variable to resolve.
public void initIncludedModule(ModuleCfg module)
IncludeCfg
initIncludedModule in interface IncludeCfgmodule - The included module.public ModuleCfg getIncludedModule()
IncludeCfg
getIncludedModule in interface IncludeCfg
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||