
@Description(value="Development result handler that merely logs the structure of the result tree.") public class LogResultStructureResultHandler extends Object implements ResultHandler
-verbose.
TODO: transform this into an evaluator, then visualize, too?| Modifier and Type | Field and Description |
|---|---|
private static Logging |
LOG
Class logger
|
| Constructor and Description |
|---|
LogResultStructureResultHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
processNewResult(HierarchicalResult baseResult,
Result newResult)
Process a result.
|
private void |
recursiveLogResult(StringBuilder buf,
Hierarchy<Result> hier,
Result result,
int depth)
Recursively walk through the result tree.
|
private static final Logging LOG
public void processNewResult(HierarchicalResult baseResult, Result newResult)
ResultProcessorprocessNewResult in interface ResultProcessorbaseResult - The base of the result tree.newResult - Newly added result subtree.private void recursiveLogResult(StringBuilder buf, Hierarchy<Result> hier, Result result, int depth)
buf - Output bufferresult - Current resultdepth - Depth