|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Module
| Nested Class Summary | |
|---|---|
static class |
Module.Type
The Type of a Module. |
| Method Summary | |
|---|---|
Module |
getConnection(Module.Type type)
Returns the Module of a certain Type connected to this Module. |
java.util.Map<Module.Type,Module> |
getConnections()
Returns all connected, or supposedly connected, Modules of this Module. |
boolean |
getDebugMode()
Returns the state of debug mode |
java.lang.String |
getDump()
Return a dump of module status |
Module.Type[] |
getExpectedConnections()
Get all Module.Type's this AbstractModule is supposed to be connected to. |
Module.Type |
getType()
Returns the Type of this Module. |
boolean |
isConnected()
Checks if this module is connected to operate normally |
boolean |
reset()
Reset all parameters of module. |
boolean |
setConnection(Module module)
Connect both Modules 'this' and 'module' to each other. |
void |
setDebugMode(boolean status)
Set toggle to define if this module is in debug mode or not |
void |
start()
Starts the module to become active. |
void |
stop()
Stops the module from being active. |
| Method Detail |
|---|
Module getConnection(Module.Type type)
type - the Type of the Module to be fetched.
java.util.Map<Module.Type,Module> getConnections()
boolean getDebugMode()
java.lang.String getDump()
Module.Type[] getExpectedConnections()
Module.Type getType()
boolean isConnected()
boolean reset()
boolean setConnection(Module module)
module - the other AbstractModule.
void setDebugMode(boolean status)
status - the new debug mode for this AbstractModule.void start()
void stop()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||