T - The particular instance of the ComponentNode.public class ComponentNode<T extends ComponentNode<T>> extends Object implements Serializable
setComponent()| Modifier and Type | Field and Description |
|---|---|
static org.lsst.ccs.utilities.logging.Logger |
logger |
protected Map |
tags |
| Constructor and Description |
|---|
ComponentNode(String name) |
ComponentNode(String name,
Object component) |
| Modifier and Type | Method and Description |
|---|---|
void |
addChild(T child)
adds a ComponentNode as a child of the current node
|
void |
addTag(String key,
Object value) |
List<T> |
getChildren() |
Object |
getComponent() |
String |
getKey() |
ComponentNode<T> |
getParent() |
String |
getPath() |
String |
getProtocol() |
Object |
getTag(String key) |
Map |
getTags()
Gets the node tags for this node.
|
void |
setComponent(Object component) |
void |
setProtocol(String protocol) |
String |
toString() |
public static final org.lsst.ccs.utilities.logging.Logger logger
protected final Map tags
public ComponentNode(String name)
public String getPath()
public String getProtocol()
public void setProtocol(String protocol)
public Object getComponent()
public void setComponent(Object component)
public String getKey()
public void addChild(T child) throws NullPointerException
child - to be added to the nodeNullPointerException - if child is nullpublic ComponentNode<T> getParent()
public Map getTags()
Copyright © 2024 LSST. All rights reserved.