TreeStructureUtil.addValue(lastSaved, Calendar.getInstance(), "", true, false, "time");
TreeStructureUtil.addValue(lastSaved, currentUser.getDisplayName(), "", "user", "display-name");
TreeStructureUtil.addValue(lastSaved, currentUser.getFullName(), "", "user", "full-name");
if (project instanceof MatrixConfiguration) {
logger.log(Level.FINER, "Adding matrix combination data for {0}", project);
MatrixConfiguration configuration = (MatrixConfiguration)project;
TreeNodeMetadataValue[] path = TreeStructureUtil.createTreePath("", "matrix", "combination");
TreeNodeMetadataValue matrixNode = path[0];
TreeNodeMetadataValue combinationNode = path[1];
Combination combination = configuration.getCombination();
//ToString version of the combination in job-info.matrix.combination.value
TreeStructureUtil.addValue(combinationNode, combination.toString(',', ':'), "", "value");
//Each axis in job-info.matrix.combination.[name]=[value]
for (Map.Entry<String, String> axis : combination.entrySet()) {
TreeStructureUtil.addValue(combinationNode, axis.getValue(), "", "axis", axis.getKey());