@Override
public List<MetadataValue> getMetaDataFor(AbstractBuild build) {
TreeNodeMetadataValue buildNode = TreeStructureUtil.createPath(build.getResult().toString(), "",
"build", "result");
AbstractMetadataValue mdv = new NumberMetadataValue("ms", build.getDuration());
mdv.setGenerated(true);
TreeStructureUtil.addValue(buildNode, mdv, "duration");
mdv = new StringMetadataValue("display", build.getDurationString());
mdv.setGenerated(true);
TreeStructureUtil.addValue(buildNode, mdv, "duration");
TreeStructureUtil.addValue(buildNode, build.getBuiltOnStr(), null, "builtOn");
TreeStructureUtil.addValue(buildNode, build.getTimestamp(), null, true, false, "scheduled");
List<MetadataValue> values = new LinkedList<MetadataValue>();
values.add(buildNode);