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, toString
protected abstract void observe() throws java.lang.InterruptedException
java.lang.InterruptedException
public void run()
run
in interface java.lang.Runnable
public void stop()
public void setVersion()
setVersion
in class AbstractModule
public void create()
public void start()
public boolean isRunning()
protected void submitEvent(Event e)
public void setSelected(boolean selected)
AbstractModule
setSelected
in class AbstractModule
selected
- setSelected(true) will enable the extraction of this module.