private void addSubSection (SectionResultData section, Map<String, String> attrMap, String headerText) { if (!attrMap.isEmpty()) { SectionResultData subSection = section.addSection(); Set<String> attributes = new TreeSet<String>(attrMap.keySet()); subSection.setHeader(headerText); for (String attribute : attributes) { String attributeValue = attrMap.get(attribute); subSection.addData(attribute, attributeValue); } } } /**
private void addSubSection (SectionResultData section, Map<String, String> attrMap, String headerText) { if (!attrMap.isEmpty()) { SectionResultData subSection = section.addSection(); Set<String> attributes = new TreeSet<String>(attrMap.keySet()); subSection.setHeader(headerText); for (String attribute : attributes) { String attributeValue = attrMap.get(attribute); subSection.addData(attribute, attributeValue); } } } /**
public void addChildSection(SectionResultData parentSection, Map<String, String> map, String header) { if (!map.isEmpty()) { Set<String> attributes = map.keySet(); SectionResultData section = parentSection.addSection(); section.setHeader(header); for (String attribute : attributes) { section.addData(attribute, map.get(attribute)); } } }
regionSection.addSeparator('.'); TabularResultData commonNonDefaultAttrTable = regionSection.addSection().addTable(); Set<String> members = regDescPerMemberMap.keySet(); TabularResultData table = regionSection.addSection().addTable();
regionSection.addSeparator('.'); TabularResultData commonNonDefaultAttrTable = regionSection.addSection().addTable(); Set<String> members = regDescPerMemberMap.keySet(); TabularResultData table = regionSection.addSection().addTable();
SectionResultData subSection = section.addSection("DiskStore"+memberId); subSection.addData("UUID", persistentID.getUUID()); subSection.addData("Host", persistentID.getHost().getHostName());
SectionResultData subSection = section.addSection("DiskStore"+memberId); subSection.addData("UUID", persistentID.getUUID()); subSection.addData("Host", persistentID.getHost().getHostName());
TabularResultData jvmInputArgs = crd.addSection().addSection().addTable();
TabularResultData jvmInputArgs = crd.addSection().addSection().addTable();
SectionResultData r3SubSection = r3Section.addSection("R3Config"); r3SubSection.addData("Configuration", ""); r3SubSection.addData("Config1", "abcd");
SectionResultData r3SubSection = r3Section.addSection("R3Config"); r3SubSection.addData("Configuration", ""); r3SubSection.addData("Config1", "abcd");
public SectionResultData addSection() { return addSection(String.valueOf(subsectionCount)); }
public SectionResultData addSection() { return addSection(String.valueOf(subsectionCount)); }
public void addChildSection(SectionResultData parentSection, Map<String, String> map, String header) { if (!map.isEmpty()) { Set<String> attributes = map.keySet(); SectionResultData section = parentSection.addSection(); section.setHeader(header); for (String attribute : attributes) { section.addData(attribute, map.get(attribute)); } } }