| Package | Description |
|---|---|
| org.lsst.ccs.description | |
| org.lsst.ccs.description.groovy | |
| org.lsst.ccs.framework |
| Modifier and Type | Class and Description |
|---|---|
class |
ComponentNode<T extends ComponentNode<T>>
Abstract class for a node in the concrete implementation of a subsystem description.
|
| Modifier and Type | Method and Description |
|---|---|
ComponentNode |
ComponentLookup.getComponentNodeForObject(Object obj) |
ComponentNode |
ComponentLookup.getNodeByPath(String path)
return any object registered by the componentNodeDictionaries of the service.
|
ComponentNode<T> |
ComponentNode.getParent() |
ComponentNode |
ComponentLookup.getTopComponentNode()
Get the top ComponentNode, ie the tip of the tree structure.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ComponentLookup.addComponentNodeToLookup(ComponentNode parent,
ComponentNode node) |
void |
ComponentLookup.addComponentNodeToLookup(ComponentNode parent,
ComponentNode node) |
<N> Map<String,N> |
ComponentLookup.getChildren(ComponentNode node,
Class<N> classFilter)
gets the children of a Component in the ComponentNode and filters by
Class.
|
<Q> List<Q> |
ComponentLookup.listChildren(ComponentNode node,
Class<Q> klass)
lists the children of a component.
|
<N> List<N> |
ComponentLookup.listDescendants(ComponentNode node,
Class<N> classFilter)
Finds all the children of the given class in the sub-tree starting at the
node named
parentName |
void |
ComponentLookup.setComponentNodeName(ComponentNode node,
String name) |
| Constructor and Description |
|---|
ComponentLookup(ComponentNode top) |
| Modifier and Type | Method and Description |
|---|---|
Object |
GroovyConstructorInvoker.invokeConstructor(String nodeName,
Class cls,
Map args,
ComponentNode topNode) |
| Modifier and Type | Method and Description |
|---|---|
static <A> void |
TreeWalkerUtils.proceduralBiWalk(ComponentLookup lookup,
ComponentNode startingNode,
Class<A> klass,
BiConsumer<ComponentNode,A> pre,
BiConsumer<ComponentNode,A> post)
Full tree walking of the component node.
|
static void |
TreeWalkerUtils.proceduralNodeWalk(ComponentLookup lookup,
ComponentNode startingNode,
Consumer<ComponentNode> pre,
Consumer<ComponentNode> post)
Full tree walking of the component node targeted on the node itself.
|
static <A> void |
TreeWalkerUtils.proceduralWalk(ComponentLookup lookup,
ComponentNode startingNode,
Class<A> klass,
Consumer<A> pre,
Consumer<A> post)
Full Tree walking method targeted on the node's inner object.
|
static <A> void |
TreeWalkerUtils.treeBiWalk(ComponentLookup lookup,
ComponentNode startingNode,
Class<A> klass,
BiFunction<ComponentNode,A,TreeWalkerDiag> func,
BiConsumer<ComponentNode,A> post)
Walks the components tree recursively, applying rules of
TreeWalkerDiag (the walk can be interrupted by HANDLING_CHILDREN
(the code is not invoked on children) or STOP (the code abruptly ends) on
the node's inner component. |
static <A> void |
TreeWalkerUtils.treeWalk(ComponentLookup lookup,
ComponentNode startingNode,
Class<A> klass,
Function<A,TreeWalkerDiag> func,
Consumer<A> post)
Walks the components tree recursively, applying rules of
TreeWalkerDiag (the walk can be interrupted by HANDLING_CHILDREN
(the code is not invoked on children) or STOP (the code abruptly ends) on
the node's inner component. |
| Modifier and Type | Method and Description |
|---|---|
static <A> void |
TreeWalkerUtils.proceduralBiWalk(ComponentLookup lookup,
ComponentNode startingNode,
Class<A> klass,
BiConsumer<ComponentNode,A> pre,
BiConsumer<ComponentNode,A> post)
Full tree walking of the component node.
|
static <A> void |
TreeWalkerUtils.proceduralBiWalk(ComponentLookup lookup,
ComponentNode startingNode,
Class<A> klass,
BiConsumer<ComponentNode,A> pre,
BiConsumer<ComponentNode,A> post)
Full tree walking of the component node.
|
static void |
TreeWalkerUtils.proceduralNodeWalk(ComponentLookup lookup,
ComponentNode startingNode,
Consumer<ComponentNode> pre,
Consumer<ComponentNode> post)
Full tree walking of the component node targeted on the node itself.
|
static void |
TreeWalkerUtils.proceduralNodeWalk(ComponentLookup lookup,
ComponentNode startingNode,
Consumer<ComponentNode> pre,
Consumer<ComponentNode> post)
Full tree walking of the component node targeted on the node itself.
|
static <A> void |
TreeWalkerUtils.treeBiWalk(ComponentLookup lookup,
ComponentNode startingNode,
Class<A> klass,
BiFunction<ComponentNode,A,TreeWalkerDiag> func,
BiConsumer<ComponentNode,A> post)
Walks the components tree recursively, applying rules of
TreeWalkerDiag (the walk can be interrupted by HANDLING_CHILDREN
(the code is not invoked on children) or STOP (the code abruptly ends) on
the node's inner component. |
static <A> void |
TreeWalkerUtils.treeBiWalk(ComponentLookup lookup,
ComponentNode startingNode,
Class<A> klass,
BiFunction<ComponentNode,A,TreeWalkerDiag> func,
BiConsumer<ComponentNode,A> post)
Walks the components tree recursively, applying rules of
TreeWalkerDiag (the walk can be interrupted by HANDLING_CHILDREN
(the code is not invoked on children) or STOP (the code abruptly ends) on
the node's inner component. |
Copyright © 2023 LSST. All rights reserved.