Class DefaultTopologyProviderInfo
- java.lang.Object
-
- org.opennms.features.topology.api.topo.DefaultTopologyProviderInfo
-
- All Implemented Interfaces:
TopologyProviderInfo
public class DefaultTopologyProviderInfo extends java.lang.Object implements TopologyProviderInfo
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
description
protected java.lang.String
name
-
Constructor Summary
Constructors Constructor Description DefaultTopologyProviderInfo()
DefaultTopologyProviderInfo(java.lang.String name, java.lang.String description, java.lang.Boolean isHierarchichal, boolean supportsCategorySearch)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDescription()
java.lang.String
getName()
boolean
isHierarchical()
Defines if the current topology is hierarchical.boolean
isSupportsCategorySearch()
Defines whether the topology provider supports category searchvoid
setDescription(java.lang.String description)
void
setHierarchical(boolean hierarchical)
void
setName(java.lang.String name)
void
setSupportsCategorySearch(boolean supportsCategorySearch)
-
-
-
Method Detail
-
getName
public java.lang.String getName()
- Specified by:
getName
in interfaceTopologyProviderInfo
-
getDescription
public java.lang.String getDescription()
- Specified by:
getDescription
in interfaceTopologyProviderInfo
-
isHierarchical
public boolean isHierarchical()
Description copied from interface:TopologyProviderInfo
Defines if the current topology is hierarchical.- Specified by:
isHierarchical
in interfaceTopologyProviderInfo
- Returns:
- true if hierarchical, false otherwise.
-
isSupportsCategorySearch
public boolean isSupportsCategorySearch()
Description copied from interface:TopologyProviderInfo
Defines whether the topology provider supports category search- Specified by:
isSupportsCategorySearch
in interfaceTopologyProviderInfo
- Returns:
- True if supports, otherwise false
-
setName
public void setName(java.lang.String name)
-
setDescription
public void setDescription(java.lang.String description)
-
setHierarchical
public void setHierarchical(boolean hierarchical)
-
setSupportsCategorySearch
public void setSupportsCategorySearch(boolean supportsCategorySearch)
-
-