de.cau.cs.kieler.kiml.grana
Class AbstractAnalysisResultVisualizer
java.lang.Object
de.cau.cs.kieler.kiml.grana.AbstractAnalysisResultVisualizer
- Direct Known Subclasses:
- AnalysisFailedVisualizer, MinAvgMaxResultVisualizer, ToStringVisualizer
public abstract class AbstractAnalysisResultVisualizer
- extends Object
The abstract base class all analysis result visualizer have to extend.
- Rating

Method Summary |
abstract boolean |
canVisualize(Object result)
Returns whether this class can visualize the given analysis result. |
abstract String |
visualize(Object result)
Visualizes the given result object by returning html if canVisualize returns true for the given result. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractAnalysisResultVisualizer
public AbstractAnalysisResultVisualizer()
canVisualize
public abstract boolean canVisualize(Object result)
- Returns whether this class can visualize the given analysis result.
- Parameters:
result
- the result of an analysis
- Returns:
- true if this class can visualize the result
visualize
public abstract String visualize(Object result)
- Visualizes the given result object by returning html if
canVisualize
returns true for the given result. Returns null if
usesResultDialog
returns true.
- Parameters:
result
- the result to visualize
- Returns:
- the html to display in the result dialog or null if this
visualizer displays the results in another way