|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.smartics.testdoc.report.index.ExportMultiIndex
@NotThreadSafe public class ExportMultiIndex
Provides means to handle multiple export indexes.
Field Summary | |
---|---|
static String |
SECTION_NAME The name of the section generated by this index. |
Constructor Summary | |
---|---|
ExportMultiIndex() Default constructor. |
Method Summary | |
---|---|
void |
addIndex(ExportIndex index) Adds the given index to the list of indexes. |
void |
addToIndex(UnitTestDoc testDoc) Adds the given test documentation instance to the index. |
List<ExportIndex> |
getIndexes() Returns a reference to an unmodifiable instance of the list of indexes. |
Section<UnitTestDoc> |
getSection() Returns a reference to the root section of the index. |
String |
getSectionName() Returns the name of the section generated by this index. |
boolean |
isEmpty() Checks if this or any sub sections contains at least one item. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String SECTION_NAME
The value of this constant is "allSections".
"allSections"
Constructor Detail |
---|
public ExportMultiIndex()
Method Detail |
---|
public String getSectionName()
getSectionName
in interface
ExportIndex
ExportIndex.getSectionName()
public void addIndex(ExportIndex index)
index
- the index to be added.
public void addToIndex(UnitTestDoc testDoc)
addToIndex
in interface
ExportIndex
testDoc
- the instance to be added.
ExportIndex.addToIndex(de.smartics.testdoc.core.doc.UnitTestDoc)
public List<ExportIndex> getIndexes()
public Section<UnitTestDoc> getSection()
Returns the sections of all its indexes as subsections.
getSection
in interface
ExportIndex
null
.
ExportIndex.getSection()
public boolean isEmpty()
isEmpty
in interface
ExportIndex
true
if at least one item is in this index,
false
otherwise.
ExportIndex.isEmpty()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |