public interface StorageStrategy
StorageStrategy interface.
| Modifier and Type | Method and Description |
|---|---|
Path |
getRelativePathForAttribute(String resourceParent,
String resource)
getRelativePathForAttribute
|
String |
getResourceNameFromIndex(CollectionResource resource)
This functions translate resourceIndex into a "unique" and "non-variable" name that could be identify
a resource, as described earlier.
|
void |
setParameters(List<Parameter> parameterCollection)
setParameters
|
void |
setResourceTypeName(String name)
setResourceTypeName
|
void |
setStorageStrategyService(StorageStrategyService agent)
Add to a strategy the possibility to get additional information using SNMP when is necessary.
|
Path getRelativePathForAttribute(String resourceParent, String resource)
getRelativePathForAttribute
void setResourceTypeName(String name)
setResourceTypeName
name - a String object.String getResourceNameFromIndex(CollectionResource resource)
resource - a CollectionResource objectString object.void setStorageStrategyService(StorageStrategyService agent)
agent - a org.opennms.netmgt.config.StorageStrategyService object.void setParameters(List<Parameter> parameterCollection) throws IllegalArgumentException
setParameters
parameterCollection - a List object.IllegalArgumentExceptionCopyright © 2020. All rights reserved.