public abstract class AbstractDaemonModule extends AbstractModule implements java.lang.Runnable
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
isDaemon |
protected java.lang.Thread |
runner |
config, moduleName, version| Constructor and Description |
|---|
AbstractDaemonModule() |
| Modifier and Type | Method and Description |
|---|---|
void |
create() |
boolean |
isRunning() |
protected abstract void |
observe() |
void |
run() |
void |
setSelected(boolean selected)
Change the selection state of this module.
|
void |
setVersion() |
void |
start() |
void |
stop() |
protected void |
submitEvent(Event e) |
getConfig, getHash, getModuleDescription, isSelected, setConfig, setModuleName, supportsThisOS, toStringprotected abstract void observe()
throws java.lang.InterruptedException
java.lang.InterruptedExceptionpublic void run()
run in interface java.lang.Runnablepublic void stop()
public void setVersion()
setVersion in class AbstractModulepublic void create()
public void start()
public boolean isRunning()
protected void submitEvent(Event e)
public void setSelected(boolean selected)
AbstractModulesetSelected in class AbstractModuleselected - setSelected(true) will enable the extraction of this module.