public class BuildTreeContext extends Object
Eg: adding additional items to test plan when a particular protocol element is added.
| Modifier and Type | Class and Description |
|---|---|
static interface |
BuildTreeContext.TreeContextEndListener |
| Constructor and Description |
|---|
BuildTreeContext() |
| Modifier and Type | Method and Description |
|---|---|
void |
addEndListener(BuildTreeContext.TreeContextEndListener endListener) |
void |
addVisualizer(DslVisualizer visualizer,
Supplier<Component> guiBuilder) |
org.apache.jorphan.collections.HashTree |
buildChild(DslTestElement child,
org.apache.jorphan.collections.HashTree parentTree) |
static BuildTreeContext |
buildRemoteExecutionContext() |
org.apache.jorphan.collections.HashTree |
buildTreeFor(DslTestElement element,
org.apache.jorphan.collections.HashTree parentTree) |
Map<String,File> |
getAssetFiles() |
Object |
getEntry(String key) |
<T> T |
getOrCreateEntry(String key,
Supplier<T> supplier) |
BuildTreeContext |
getParent() |
BuildTreeContext |
getRoot() |
DslTestElement |
getTestElement() |
TestStopper |
getTestStopper() |
Map<DslVisualizer,Supplier<Component>> |
getVisualizers() |
boolean |
isRoot() |
String |
processAssetFile(String assetPath) |
void |
setEntry(String key,
Object value) |
void |
setTestStopper(TestStopper testStopper) |
public BuildTreeContext getParent()
public DslTestElement getTestElement()
public BuildTreeContext getRoot()
public boolean isRoot()
public void setTestStopper(TestStopper testStopper)
public TestStopper getTestStopper()
public void addEndListener(BuildTreeContext.TreeContextEndListener endListener)
public void addVisualizer(DslVisualizer visualizer, Supplier<Component> guiBuilder)
public Map<DslVisualizer,Supplier<Component>> getVisualizers()
public org.apache.jorphan.collections.HashTree buildChild(DslTestElement child, org.apache.jorphan.collections.HashTree parentTree)
public org.apache.jorphan.collections.HashTree buildTreeFor(DslTestElement element, org.apache.jorphan.collections.HashTree parentTree)
public static BuildTreeContext buildRemoteExecutionContext()
Copyright © 2024. All rights reserved.