public class ResourceType extends Object implements Serializable, org.opennms.integration.api.v1.config.datacollection.ResourceType
| Constructor and Description |
|---|
ResourceType() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getLabel()
resource type label (this is what users see in the webUI)
|
String |
getName()
resource type name
|
PersistenceSelectorStrategy |
getPersistenceSelectorStrategy()
Selects a PersistenceSelectorStrategy that decides which data is
persisted and which is not.
|
String |
getResourceLabel()
resource label expression (this is what users see in the webUI for each
resource of this type)
|
StorageStrategy |
getStorageStrategy()
Selects a StorageStrategy that decides where data is stored.
|
int |
hashCode() |
void |
setLabel(String label) |
void |
setName(String name) |
void |
setPersistenceSelectorStrategy(PersistenceSelectorStrategy strategy) |
void |
setResourceLabel(String resourceLabel) |
void |
setStorageStrategy(StorageStrategy strategy) |
String |
toString() |
public String getName()
getName in interface org.opennms.integration.api.v1.config.datacollection.ResourceTypepublic void setName(String name)
public String getLabel()
getLabel in interface org.opennms.integration.api.v1.config.datacollection.ResourceTypepublic void setLabel(String label)
public String getResourceLabel()
getResourceLabel in interface org.opennms.integration.api.v1.config.datacollection.ResourceTypepublic void setResourceLabel(String resourceLabel)
public PersistenceSelectorStrategy getPersistenceSelectorStrategy()
getPersistenceSelectorStrategy in interface org.opennms.integration.api.v1.config.datacollection.ResourceTypepublic void setPersistenceSelectorStrategy(PersistenceSelectorStrategy strategy)
public StorageStrategy getStorageStrategy()
getStorageStrategy in interface org.opennms.integration.api.v1.config.datacollection.ResourceTypepublic void setStorageStrategy(StorageStrategy strategy)
Copyright © 2019. All rights reserved.