public class ApplicationVertex extends AbstractVertex implements LevelAware
m_id
Constructor and Description |
---|
ApplicationVertex(OnmsApplication application) |
ApplicationVertex(OnmsMonitoredService monitoredService) |
ApplicationVertex(String id,
String label)
Creates a new
ApplicationVertex . |
Modifier and Type | Method and Description |
---|---|
void |
addChildren(AbstractVertex vertex) |
List<VertexRef> |
getChildren() |
int |
getLevel() |
ApplicationVertex |
getRoot() |
OnmsServiceType |
getServiceType() |
boolean |
isLeaf() |
boolean |
isPartOf(String applicationId) |
boolean |
isRoot() |
void |
setServiceType(OnmsServiceType serviceType) |
getEdgePathOffset, getIconKey, getIpAddress, getItem, getKey, getNodeID, getParent, getStyleName, getTooltipText, getX, getY, isGroup, isLocked, isSelected, setEdgePathOffset, setIconKey, setIpAddress, setLocked, setNodeID, setParent, setSelected, setStyleName, setTooltipText, setX, setY, toString
equals
compareTo, getId, getLabel, getNamespace, hashCode, setLabel
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getId, getNamespace
compareTo
public ApplicationVertex(OnmsApplication application)
public ApplicationVertex(OnmsMonitoredService monitoredService)
public ApplicationVertex(String id, String label)
ApplicationVertex
.id
- the unique id of this vertex. Must be unique overall the namespace.public void addChildren(AbstractVertex vertex)
public void setServiceType(OnmsServiceType serviceType)
public boolean isRoot()
public boolean isLeaf()
public OnmsServiceType getServiceType()
public boolean isPartOf(String applicationId)
public ApplicationVertex getRoot()
public int getLevel()
getLevel
in interface LevelAware
Copyright © 2021. All rights reserved.