public abstract class Trigger extends AbstractGenericEngine implements REpiceaShowableUI
Modifier and Type | Field and Description |
---|---|
protected MainDialog |
guiInterface |
protected Logger |
logger |
protected TriggerSettings |
settings |
protected java.io.File |
workingDirectory |
finalTask, queue, tasksDone
Constructor and Description |
---|
Trigger() |
Modifier and Type | Method and Description |
---|---|
protected abstract JavaProcessWrapper |
createProcessWrapper() |
protected void |
decideWhatToDoInCaseOfFailure(GenericTask task)
This method is called whenever an exception is thrown while running a task.
|
protected void |
findCurrentLocation() |
protected void |
firstTasksToDo()
This method sets the first tasks to execute when the engine starts.
|
protected abstract java.lang.String |
getName() |
protected abstract java.lang.String |
getSettingMemoryFilename() |
protected TriggerSettings |
getSettings() |
protected abstract java.lang.String |
getTitle() |
MainDialog |
getUI()
This method returns the GUI interface of the class that implements this interface.
|
boolean |
isVisible()
This method returns true if the GUI is visible.
|
protected void |
loadSettings() |
protected void |
redirectOutputStream() |
protected void |
setSettings() |
void |
showUI()
This method shows the GUI interface of the class that implements this interface.
|
protected void |
startEmbeddedApplication() |
addTask, addTasks, cancelRunningTask, getSettingMemory, lockEngine, lockEngine, requestShutdown, setSettingMemory, shutdown, startApplication, unlockEngine
protected java.io.File workingDirectory
protected Logger logger
protected MainDialog guiInterface
protected TriggerSettings settings
protected void redirectOutputStream()
public MainDialog getUI()
REpiceaUIObject
getUI
in interface REpiceaUIObject
public void showUI()
REpiceaShowableUI
showUI
in interface REpiceaShowableUI
protected void findCurrentLocation() throws java.net.URISyntaxException
java.net.URISyntaxException
protected abstract JavaProcessWrapper createProcessWrapper()
protected void loadSettings()
protected void setSettings()
protected TriggerSettings getSettings()
protected abstract java.lang.String getSettingMemoryFilename()
protected abstract java.lang.String getName()
protected abstract java.lang.String getTitle()
protected void firstTasksToDo()
AbstractGenericEngine
firstTasksToDo
in class AbstractGenericEngine
public boolean isVisible()
REpiceaUIObject
isVisible
in interface REpiceaUIObject
protected void decideWhatToDoInCaseOfFailure(GenericTask task)
AbstractGenericEngine
decideWhatToDoInCaseOfFailure
in class AbstractGenericEngine
task
- a GenericTask instanceprotected void startEmbeddedApplication() throws java.lang.Exception
java.lang.Exception