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, unlockEngineprotected java.io.File workingDirectory
protected Logger logger
protected MainDialog guiInterface
protected TriggerSettings settings
protected void redirectOutputStream()
public MainDialog getUI()
REpiceaUIObjectgetUI in interface REpiceaUIObjectpublic void showUI()
REpiceaShowableUIshowUI in interface REpiceaShowableUIprotected void findCurrentLocation()
throws java.net.URISyntaxException
java.net.URISyntaxExceptionprotected 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()
AbstractGenericEnginefirstTasksToDo in class AbstractGenericEnginepublic boolean isVisible()
REpiceaUIObjectisVisible in interface REpiceaUIObjectprotected void decideWhatToDoInCaseOfFailure(GenericTask task)
AbstractGenericEnginedecideWhatToDoInCaseOfFailure in class AbstractGenericEnginetask - a GenericTask instanceprotected void startEmbeddedApplication()
throws java.lang.Exception
java.lang.Exception