public interface IUpdater
SocketViewStub
. It contains the methods
which update the view to
inform about the bench process progress.Modifier and Type | Method and Description |
---|---|
void |
finished()
This method notifies the view that all benches have been executed and the
bench progress is finished.
|
boolean |
initProgressView(Map<BenchmarkMethod,Integer> mapping)
This method initializes the values of the eclipse view and resets the
progress bar.
|
boolean |
updateCurrentElement(AbstractMeter meter,
String name)
This method notifies the eclipse view which element is currently benched.
|
boolean |
updateErrorInElement(String name,
Exception exception)
This method informs the view that an error occurred while benching the
current element.
|
boolean initProgressView(Map<BenchmarkMethod,Integer> mapping) throws SocketViewException
mapping
- a mapping with all methods to benchmark and the related runsSocketViewException
boolean updateCurrentElement(AbstractMeter meter, String name) throws SocketViewException
meter
- The current meter.name
- This param represents the java element which is currently
benched and which is fully qualified.SocketViewException
boolean updateErrorInElement(String name, Exception exception) throws SocketViewException
name
- Element represents the java element which has not been
executed successfully.exception
- The exception caused by the element.SocketViewException
void finished() throws SocketViewException
SocketViewException
Copyright © 2013 University of Konstanz, Distributed Systems Group. All Rights Reserved.