|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.cau.cs.kieler.sim.kiem.automated.AbstractAutomationListener
de.cau.cs.kieler.sim.kiem.automated.ui.extension.AutomationListener
public class AutomationListener
Listens to events coming from the automated execution and is responsible for relaying them to the different view elements.
Constructor Summary | |
---|---|
AutomationListener()
|
Method Summary | |
---|---|
void |
doPreAutomationProcessing()
This method is called immediately before the automation starts and gives listeners a chance to perform some action like opening views or loading plugins. |
void |
executionFileStarted(IPath executionFile,
Exception exception)
This method indicates that the automation tried to start a new execution file. |
void |
receiveIterationResult(IterationResult result)
Publishes the result of the currently running iteration. |
void |
receiveIterationResult(List<IterationResult> results)
Publishes a list of results of the last couple of iterations. |
void |
receiveModelFileResults(IPath executionFile,
List<AbstractResult> results)
This method will pass all summarized model file results produced by the given execution file. |
void |
refresh()
Notifies the listeners that information in the already produced results may have changed and that the listeners should re-check the values. |
Methods inherited from class de.cau.cs.kieler.sim.kiem.automated.AbstractAutomationListener |
---|
doPostAutomationProcessing |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AutomationListener()
Method Detail |
---|
public void doPreAutomationProcessing()
doPreAutomationProcessing
in interface IAutomationListener
doPreAutomationProcessing
in class AbstractAutomationListener
public void executionFileStarted(IPath executionFile, Exception exception)
executionFileStarted
in interface IAutomationListener
executionFileStarted
in class AbstractAutomationListener
executionFile
- the path to the execution fileexception
- an exception that caused the file to fail, null if the file
was started successfullypublic void receiveIterationResult(IterationResult result)
receiveIterationResult
in interface IAutomationListener
receiveIterationResult
in class AbstractAutomationListener
result
- the resultpublic void receiveIterationResult(List<IterationResult> results)
receiveIterationResult
in interface IAutomationListener
receiveIterationResult
in class AbstractAutomationListener
results
- the resultspublic void receiveModelFileResults(IPath executionFile, List<AbstractResult> results)
receiveModelFileResults
in interface IAutomationListener
receiveModelFileResults
in class AbstractAutomationListener
executionFile
- the execution fileresults
- the list of model file resultspublic void refresh()
refresh
in interface IAutomationListener
refresh
in class AbstractAutomationListener
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |