Class WrappedVertexHopCriteria
- java.lang.Object
-
- org.opennms.features.topology.api.topo.Criteria
-
- org.opennms.features.topology.api.support.hops.VertexHopCriteria
-
- org.opennms.features.topology.api.support.hops.WrappedVertexHopCriteria
-
public class WrappedVertexHopCriteria extends VertexHopCriteria
Wrapper class to wrap a bunch ofVertexHopCriteria
. There may be multipleVertexHopCriteria
objects available. However in the end it is easier to use this criteria object to wrap all availableVertexHopCriteria
instead of iterating over all all the time and determine all vertices.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.opennms.features.topology.api.topo.Criteria
Criteria.ElementType
-
-
Constructor Summary
Constructors Constructor Description WrappedVertexHopCriteria(java.util.Set<VertexHopCriteria> vertexHopCriterias)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addCriteria(VertexHopCriteria criteria)
boolean
contains(VertexRef vertexRef)
boolean
equals(java.lang.Object obj)
java.lang.String
getNamespace()
This criteria only applies to providers for this namespacejava.util.Set<VertexRef>
getVertices()
int
hashCode()
-
Methods inherited from class org.opennms.features.topology.api.support.hops.VertexHopCriteria
getId, getLabel, getType, isEmpty, setId, setLabel, toString
-
Methods inherited from class org.opennms.features.topology.api.topo.Criteria
getCriteriaForGraphContainer, getSingleCriteriaForGraphContainer, isDirty, resetDirty, setDirty
-
-
-
-
Constructor Detail
-
WrappedVertexHopCriteria
public WrappedVertexHopCriteria(java.util.Set<VertexHopCriteria> vertexHopCriterias)
-
-
Method Detail
-
addCriteria
public void addCriteria(VertexHopCriteria criteria)
-
getVertices
public java.util.Set<VertexRef> getVertices()
- Specified by:
getVertices
in classVertexHopCriteria
-
getNamespace
public java.lang.String getNamespace()
Description copied from class:Criteria
This criteria only applies to providers for this namespace- Specified by:
getNamespace
in classCriteria
-
contains
public boolean contains(VertexRef vertexRef)
-
-