Class DelegatingResourceType
- java.lang.Object
-
- org.opennms.netmgt.collection.api.DelegatingResourceType
-
- All Implemented Interfaces:
ResourceType
public class DelegatingResourceType extends java.lang.Object implements ResourceType
-
-
Constructor Summary
Constructors Constructor Description DelegatingResourceType(ResourceType delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getLabel()
resource type label (this is what users see in the webUI)java.lang.String
getName()
resource type nameStrategyDefinition
getPersistenceSelectorStrategy()
Selects a PersistenceSelectorStrategy that decides which data is persisted and which is not.java.lang.String
getResourceLabel()
resource label expression (this is what users see in the webUI for each resource of this type)StrategyDefinition
getStorageStrategy()
Selects a StorageStrategy that decides where data is stored.
-
-
-
Constructor Detail
-
DelegatingResourceType
public DelegatingResourceType(ResourceType delegate)
-
-
Method Detail
-
getName
public java.lang.String getName()
Description copied from interface:ResourceType
resource type name- Specified by:
getName
in interfaceResourceType
-
getLabel
public java.lang.String getLabel()
Description copied from interface:ResourceType
resource type label (this is what users see in the webUI)- Specified by:
getLabel
in interfaceResourceType
-
getResourceLabel
public java.lang.String getResourceLabel()
Description copied from interface:ResourceType
resource label expression (this is what users see in the webUI for each resource of this type)- Specified by:
getResourceLabel
in interfaceResourceType
-
getStorageStrategy
public StrategyDefinition getStorageStrategy()
Description copied from interface:ResourceType
Selects a StorageStrategy that decides where data is stored.- Specified by:
getStorageStrategy
in interfaceResourceType
-
getPersistenceSelectorStrategy
public StrategyDefinition getPersistenceSelectorStrategy()
Description copied from interface:ResourceType
Selects a PersistenceSelectorStrategy that decides which data is persisted and which is not.- Specified by:
getPersistenceSelectorStrategy
in interfaceResourceType
-
-