|
Hilbert II - Version 0.03.04 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.qedeq.kernel.bo.load.DefaultModuleProperties
Represents a module and its states.
Constructor Summary | |
DefaultModuleProperties(ModuleAddress address)
Creates new module properties. |
Method Summary | |
String |
getAddress()
Get address of module. |
Exception |
getException()
Get exception. |
LoadingState |
getLoadingState()
Get module loading state. |
QedeqBo |
getModule()
Get module. |
ModuleAddress |
getModuleAddress()
Get ModuleAddress of module. |
String |
getName()
Get name of module. |
String |
getRuleVersion()
Get rule version information. |
String |
getStateDescription()
Get module state description. |
URL |
getUrl()
Get original URL of module. |
boolean |
hasFailures()
Is this a failure state the module is in? |
boolean |
isLoaded()
Is this module already loaded? |
void |
setLoaded(QedeqBo module)
Set checked and loaded state and module. |
void |
setLoadingCompleteness(int completeness)
Set completeness percentage. |
void |
setLoadingFailureState(LoadingState state,
Exception e)
Set failure module state. |
void |
setLoadingProgressState(LoadingState state)
Set loading progress module state. |
String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public DefaultModuleProperties(ModuleAddress address)
address
- module addressMethod Detail |
public final boolean hasFailures()
ModuleProperties
hasFailures
in interface ModuleProperties
public final String getAddress()
ModuleProperties
getAddress
in interface ModuleProperties
public final ModuleAddress getModuleAddress()
ModuleProperties
ModuleAddress
of module. Maybe null
.
getModuleAddress
in interface ModuleProperties
public final void setLoadingCompleteness(int completeness)
ModuleProperties
setLoadingCompleteness
in interface ModuleProperties
completeness
- Completeness of loading into memory.public final void setLoadingProgressState(LoadingState state)
ModuleProperties
setLoadingProgressState
in interface ModuleProperties
state
- module statepublic final void setLoadingFailureState(LoadingState state, Exception e)
ModuleProperties
setLoadingFailureState
in interface ModuleProperties
state
- module statee
- Exception that occurred during loading.public final LoadingState getLoadingState()
ModuleProperties
getLoadingState
in interface ModuleProperties
public final Exception getException()
ModuleProperties
getException
in interface ModuleProperties
public final String getStateDescription()
ModuleProperties
getStateDescription
in interface ModuleProperties
public final String getName()
ModuleProperties
getName
in interface ModuleProperties
public final String getRuleVersion()
ModuleProperties
getRuleVersion
in interface ModuleProperties
public final URL getUrl()
ModuleProperties
getUrl
in interface ModuleProperties
public final boolean isLoaded()
ModuleProperties
isLoaded
in interface ModuleProperties
public final void setLoaded(QedeqBo module)
ModuleProperties
setLoaded
in interface ModuleProperties
module
- checked and loaded module.public final QedeqBo getModule()
ModuleProperties
getModule
in interface ModuleProperties
public final String toString()
|
Hilbert II - Version 0.03.04 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
©left GNU General Public Licence All Rights Reserved. |