Class LegacyApplicationStatusProvider
- java.lang.Object
-
- org.opennms.features.topology.plugins.topo.application.LegacyApplicationStatusProvider
-
- All Implemented Interfaces:
NamespaceAware,StatusProvider
public class LegacyApplicationStatusProvider extends Object implements StatusProvider
-
-
Constructor Summary
Constructors Constructor Description LegacyApplicationStatusProvider(ApplicationDao applicationDao)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancontributesTo(String namespace)Defines if the current implementation contributes to the given namespace.StringgetNamespace()A string used to identify references belonging to this provider May only contain characters that make for a reasonable Java identifier such as letters digits and underscore (no colons, periods, commas etc.)Map<VertexRef,Status>getStatusForVertices(BackendGraph graph, Collection<VertexRef> vertices, Criteria[] criteria)
-
-
-
Constructor Detail
-
LegacyApplicationStatusProvider
public LegacyApplicationStatusProvider(ApplicationDao applicationDao)
-
-
Method Detail
-
getStatusForVertices
public Map<VertexRef,Status> getStatusForVertices(BackendGraph graph, Collection<VertexRef> vertices, Criteria[] criteria)
- Specified by:
getStatusForVerticesin interfaceStatusProvider
-
getNamespace
public String getNamespace()
Description copied from interface:NamespaceAwareA string used to identify references belonging to this provider May only contain characters that make for a reasonable Java identifier such as letters digits and underscore (no colons, periods, commas etc.)- Specified by:
getNamespacein interfaceNamespaceAware- Returns:
- the namespace, e.g. "nodes".
-
contributesTo
public boolean contributesTo(String namespace)
Description copied from interface:NamespaceAwareDefines 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:
contributesToin interfaceNamespaceAware- Parameters:
namespace- the namespace to contribute to- Returns:
true, if the current implementation contributes to the given namespace, otherwisefalse.
-
-