Class BusinessServicesHideLeafsCriteria
- java.lang.Object
-
- org.opennms.features.topology.api.topo.Criteria
-
- org.opennms.features.topology.plugins.topo.bsm.BusinessServicesHideLeafsCriteria
-
- All Implemented Interfaces:
NamespaceAware
public class BusinessServicesHideLeafsCriteria extends Criteria implements NamespaceAware
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.opennms.features.topology.api.topo.Criteria
Criteria.ElementType
-
-
Constructor Summary
Constructors Constructor Description BusinessServicesHideLeafsCriteria()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
contributesTo(String namespace)
Defines if the current implementation contributes to the given namespace.boolean
equals(Object obj)
String
getNamespace()
This criteria only applies to providers for this namespaceCriteria.ElementType
getType()
This criteria applies to only providers of the indicated typeint
hashCode()
-
Methods inherited from class org.opennms.features.topology.api.topo.Criteria
getCriteriaForGraphContainer, getSingleCriteriaForGraphContainer, isDirty, resetDirty, setDirty
-
-
-
-
Method Detail
-
getType
public Criteria.ElementType getType()
Description copied from class:Criteria
This criteria applies to only providers of the indicated type
-
getNamespace
public String getNamespace()
Description copied from class:Criteria
This criteria only applies to providers for this namespace- Specified by:
getNamespace
in interfaceNamespaceAware
- Specified by:
getNamespace
in classCriteria
- Returns:
- the namespace, e.g. "nodes".
-
contributesTo
public boolean contributesTo(String namespace)
Description copied from interface:NamespaceAware
Defines if the current implementation contributes to the given namespace. This is usually the case, when the given namespaces equalsNamespaceAware.getNamespace()
, but is not a requirement.- Specified by:
contributesTo
in interfaceNamespaceAware
- Parameters:
namespace
- the namespace to contribute to- Returns:
true
, if the current implementation contributes to the given namespace, otherwisefalse
.
-
-