Class Criteria
- java.lang.Object
-
- org.opennms.features.topology.api.topo.Criteria
-
- Direct Known Subclasses:
BreadcrumbCriteria
,BusinessServicesHideLeafsCriteria
,SemanticZoomLevelCriteria
,SimulationCriteria
,VertexHopCriteria
public abstract class Criteria extends java.lang.Object
The interface is extended by plugin developers to allow the setting of criteria for their Providers- Author:
- brozow
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Criteria.ElementType
-
Constructor Summary
Constructors Constructor Description Criteria()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract boolean
equals(java.lang.Object obj)
static <T extends Criteria>
java.util.Set<T>getCriteriaForGraphContainer(GraphContainer graphContainer, java.lang.Class<T> criteriaClass)
abstract java.lang.String
getNamespace()
This criteria only applies to providers for this namespacestatic <T extends Criteria>
TgetSingleCriteriaForGraphContainer(GraphContainer graphContainer, java.lang.Class<T> criteriaClass, boolean createIfAbsent)
abstract Criteria.ElementType
getType()
This criteria applies to only providers of the indicated typeabstract int
hashCode()
boolean
isDirty()
void
resetDirty()
protected void
setDirty(boolean isDirty)
-
-
-
Method Detail
-
getSingleCriteriaForGraphContainer
public static <T extends Criteria> T getSingleCriteriaForGraphContainer(GraphContainer graphContainer, java.lang.Class<T> criteriaClass, boolean createIfAbsent)
-
getCriteriaForGraphContainer
public static <T extends Criteria> java.util.Set<T> getCriteriaForGraphContainer(GraphContainer graphContainer, java.lang.Class<T> criteriaClass)
-
getType
public abstract Criteria.ElementType getType()
This criteria applies to only providers of the indicated type
-
getNamespace
public abstract java.lang.String getNamespace()
This criteria only applies to providers for this namespace
-
hashCode
public abstract int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public abstract boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
resetDirty
public void resetDirty()
-
isDirty
public boolean isDirty()
-
setDirty
protected void setDirty(boolean isDirty)
-
-