Class ScenarioLogCollectionIndex
java.lang.Object
de.qytera.qtaf.core.log.model.index.ScenarioLogCollectionIndex
Index that holds all scenario log collections.
-
Method Summary
Modifier and TypeMethodDescriptionvoidclear()Clear the index.Get an object by its ID.static ScenarioLogCollectionIndexFactory method.put(String id, TestScenarioLogCollection obj) Add a new object to the index.intsize()Get size of index (number of elements in the index).
-
Method Details
-
getInstance
Factory method.- Returns:
- singleton instance
-
get
Get an object by its ID.- Parameters:
id- object ID- Returns:
- feature log collection
-
put
Add a new object to the index.- Parameters:
id- object's IDobj- object itself- Returns:
- the inserted object
-
size
public int size()Get size of index (number of elements in the index).- Returns:
- size of index
-
clear
public void clear()Clear the index.
-