|
||||||||||
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
public abstract class AbstractAutomationListener
Abstract implementation of the automation listener.
Constructor Summary | |
---|---|
AbstractAutomationListener()
|
Method Summary | |
---|---|
void |
doPostAutomationProcessing()
This method is called immediately after the entire automation has finished. |
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 java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractAutomationListener()
Method Detail |
---|
public void doPostAutomationProcessing()
doPostAutomationProcessing
in interface IAutomationListener
public void doPreAutomationProcessing()
doPreAutomationProcessing
in interface IAutomationListener
public void receiveModelFileResults(IPath executionFile, List<AbstractResult> results)
receiveModelFileResults
in interface IAutomationListener
executionFile
- the execution fileresults
- the list of model file resultspublic void executionFileStarted(IPath executionFile, Exception exception)
executionFileStarted
in interface IAutomationListener
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
result
- the resultpublic void receiveIterationResult(List<IterationResult> results)
receiveIterationResult
in interface IAutomationListener
results
- the resultspublic void refresh()
refresh
in interface IAutomationListener
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |