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 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(Object obj)
static <T extends Criteria>
Set<T>getCriteriaForGraphContainer(GraphContainer graphContainer, Class<T> criteriaClass)
abstract String
getNamespace()
This criteria only applies to providers for this namespacestatic <T extends Criteria>
TgetSingleCriteriaForGraphContainer(GraphContainer graphContainer, 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, Class<T> criteriaClass, boolean createIfAbsent)
-
getCriteriaForGraphContainer
public static <T extends Criteria> Set<T> getCriteriaForGraphContainer(GraphContainer graphContainer, Class<T> criteriaClass)
-
getType
public abstract Criteria.ElementType getType()
This criteria applies to only providers of the indicated type
-
getNamespace
public abstract String getNamespace()
This criteria only applies to providers for this namespace
-
resetDirty
public void resetDirty()
-
isDirty
public boolean isDirty()
-
setDirty
protected void setDirty(boolean isDirty)
-
-