|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ConForM.CoopnTools.CoKer.CoalaMgr.CoalaMgr
Coala source Manager. This class essentially defines the services provided by the Coala source manager.
Field Summary | |
static java.lang.String |
VERSION
Coopn source Manager version; |
Constructor Summary | |
CoalaMgr(CoopnMgr coopnMgr,
PackageMgr mgr,
CoopnEnv env)
Constructor. |
Method Summary | |
CoopnMgr |
coopnMgr()
Get the associated coopn manager. |
java.lang.String |
displayModuleName(CoalaModuleName elem)
ModuleName to String conversion. |
java.lang.String |
displayName(CoalaName elem)
Name to String conversion. |
void |
dispose()
Leave a coala manager. |
CoalaModuleName |
evalModuleName(java.lang.String string)
String to ModuleName conversion. |
CoalaName |
evalName(java.lang.String string)
String to Name conversion. |
CoalaModule |
getAndObserveModule(java.lang.String name,
CoalaModuleObserver observer)
Get a moduland register a module observer. |
java.lang.String[] |
getDependencies(java.lang.String name)
Get the dependencies of a module. |
CoalaModule |
getModule(java.lang.String name)
Get a module. |
CoopnUser |
lockCoalaModule(java.lang.String moduleName,
CoopnUser user)
Lock a coala file containg a particular module. |
PackageMgr |
packageMgr()
Get the associated package manager. |
void |
reloadModule(java.lang.String moduleName)
Reload a coala module from the disk. |
void |
unlock(java.lang.String moduleName)
Unlock a coala file containg a particular module. |
void |
unregisterObserver(java.lang.String name,
CoalaModuleObserver observer)
unregister a module observer. |
void |
use()
Uses a coala manager. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String VERSION
Constructor Detail |
public CoalaMgr(CoopnMgr coopnMgr, PackageMgr mgr, CoopnEnv env) throws java.lang.IllegalArgumentException
coalaMgr
- the associated coala managermgr
- the associated project managerenv
- the environment of the coala managerjava.lang.IllegalArgumentException
- the environment is absent or inconsistent.Method Detail |
public void use()
public void dispose()
public PackageMgr packageMgr()
public CoopnMgr coopnMgr()
public CoopnUser lockCoalaModule(java.lang.String moduleName, CoopnUser user)
moduleName
- the coala module to lockuser
- the user who want to acquire the lockpublic void unlock(java.lang.String moduleName) throws java.lang.IllegalAccessException
moduleName
- the coala module to lockpublic CoalaModule getModule(java.lang.String name) throws java.lang.IllegalArgumentException
name
- the module namejava.lang.IllegalArgumentException
- the module cannot be delivered (because it is
not found, erroneous, and so on).public CoalaModule getAndObserveModule(java.lang.String name, CoalaModuleObserver observer) throws java.lang.IllegalArgumentException
name
- the module nameobserver
- the module observerjava.lang.IllegalArgumentException
- the module cannot be delivered (because it is
not found, erroneous, and so on).public void unregisterObserver(java.lang.String name, CoalaModuleObserver observer)
name
- the module nameobserver
- the module observerjava.lang.IllegalArgumentException
- A problem
occured with the environment.public void reloadModule(java.lang.String moduleName) throws java.lang.IllegalAccessException
moduleName
- the module namejava.lang.IllegalArgumentException
- the module is not found.java.lang.IllegalAccessException
- the module is not locked.public java.lang.String[] getDependencies(java.lang.String name) throws java.lang.IllegalArgumentException
name
- the module namejava.lang.IllegalArgumentException
- the module cannot be delivered (because it is
not found, erroneous, and so on).public CoalaName evalName(java.lang.String string) throws java.lang.IllegalArgumentException
string
- the string to evaluatesjava.lang.IllegalArgumentException
- the element cannot be delivered (because it is
erroneous, and so on).public java.lang.String displayName(CoalaName elem) throws java.lang.IllegalArgumentException
elem
- the element to displayjava.lang.IllegalArgumentException
- the string cannot be delivered (because it is
erroneous, and so on).public CoalaModuleName evalModuleName(java.lang.String string) throws java.lang.IllegalArgumentException
string
- the string to evaluatesjava.lang.IllegalArgumentException
- the element cannot be delivered (because it is
erroneous, and so on).public java.lang.String displayModuleName(CoalaModuleName elem) throws java.lang.IllegalArgumentException
elem
- the element to displayjava.lang.IllegalArgumentException
- the string cannot be delivered (because it is
erroneous, and so on).
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |