public class TestItemTree
extends java.lang.Object
TestItemTree.TestItemLeaf retrieving by TestItemTree.ItemTreeKey
for API calls using ItemTreeReporter.| Modifier and Type | Class and Description |
|---|---|
static class |
TestItemTree.ItemTreeKey
Key for test items structure storing in the
TestItemTree |
static class |
TestItemTree.TestItemLeaf
Class represents test item with links on parent and descendants.
|
| Constructor and Description |
|---|
TestItemTree() |
| Modifier and Type | Method and Description |
|---|---|
static TestItemTree.TestItemLeaf |
createTestItemLeaf(io.reactivex.Maybe<java.lang.String> itemId)
Create a Test Item Leaf for a tree of Test Items
|
static TestItemTree.TestItemLeaf |
createTestItemLeaf(io.reactivex.Maybe<java.lang.String> itemId,
java.util.Map<TestItemTree.ItemTreeKey,TestItemTree.TestItemLeaf> childItems)
Create a Test Item Leaf for a tree of Test Items
|
static TestItemTree.TestItemLeaf |
createTestItemLeaf(io.reactivex.Maybe<java.lang.String> itemId,
java.util.Map<TestItemTree.ItemTreeKey,TestItemTree.TestItemLeaf> childItems,
java.util.Map<java.lang.String,java.lang.Object> attributes)
Create a Test Item Leaf for a tree of Test Items
|
static TestItemTree.TestItemLeaf |
createTestItemLeaf(io.reactivex.Maybe<java.lang.String> parentId,
io.reactivex.Maybe<java.lang.String> itemId)
Create a Test Item Leaf for a tree of Test Items
|
static TestItemTree.TestItemLeaf |
createTestItemLeaf(io.reactivex.Maybe<java.lang.String> parentId,
io.reactivex.Maybe<java.lang.String> itemId,
java.util.Map<TestItemTree.ItemTreeKey,TestItemTree.TestItemLeaf> childItems)
Create a Test Item Leaf for a tree of Test Items
|
static TestItemTree.TestItemLeaf |
createTestItemLeaf(io.reactivex.Maybe<java.lang.String> parentId,
io.reactivex.Maybe<java.lang.String> itemId,
java.util.Map<TestItemTree.ItemTreeKey,TestItemTree.TestItemLeaf> childItems,
java.util.Map<java.lang.String,java.lang.Object> attributes)
Create a Test Item Leaf for a tree of Test Items
|
io.reactivex.Maybe<java.lang.String> |
getLaunchId() |
java.util.Map<TestItemTree.ItemTreeKey,TestItemTree.TestItemLeaf> |
getTestItems() |
void |
setLaunchId(io.reactivex.Maybe<java.lang.String> launchId) |
public static TestItemTree.TestItemLeaf createTestItemLeaf(io.reactivex.Maybe<java.lang.String> itemId)
itemId - an ID of the leafpublic static TestItemTree.TestItemLeaf createTestItemLeaf(io.reactivex.Maybe<java.lang.String> parentId, io.reactivex.Maybe<java.lang.String> itemId)
parentId - an ID of a parent Test Item (leaf)itemId - an ID of the leafpublic static TestItemTree.TestItemLeaf createTestItemLeaf(io.reactivex.Maybe<java.lang.String> itemId, java.util.Map<TestItemTree.ItemTreeKey,TestItemTree.TestItemLeaf> childItems)
itemId - an ID of the leafchildItems - child leaf elementspublic static TestItemTree.TestItemLeaf createTestItemLeaf(io.reactivex.Maybe<java.lang.String> itemId, java.util.Map<TestItemTree.ItemTreeKey,TestItemTree.TestItemLeaf> childItems, java.util.Map<java.lang.String,java.lang.Object> attributes)
itemId - an ID of the leafchildItems - child leaf elementsattributes - leaf attributespublic static TestItemTree.TestItemLeaf createTestItemLeaf(io.reactivex.Maybe<java.lang.String> parentId, io.reactivex.Maybe<java.lang.String> itemId, java.util.Map<TestItemTree.ItemTreeKey,TestItemTree.TestItemLeaf> childItems)
parentId - an ID of a parent Test Item (leaf)itemId - an ID of the leafchildItems - child leaf elementspublic static TestItemTree.TestItemLeaf createTestItemLeaf(io.reactivex.Maybe<java.lang.String> parentId, io.reactivex.Maybe<java.lang.String> itemId, java.util.Map<TestItemTree.ItemTreeKey,TestItemTree.TestItemLeaf> childItems, java.util.Map<java.lang.String,java.lang.Object> attributes)
parentId - an ID of a parent Test Item (leaf)itemId - an ID of the leafchildItems - child leaf elementsattributes - leaf attributespublic io.reactivex.Maybe<java.lang.String> getLaunchId()
public void setLaunchId(io.reactivex.Maybe<java.lang.String> launchId)
public java.util.Map<TestItemTree.ItemTreeKey,TestItemTree.TestItemLeaf> getTestItems()