|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opennms.netmgt.dao.support.IndexStorageStrategy
public class IndexStorageStrategy
| Field Summary | |
|---|---|
protected StorageStrategyService |
m_storageStrategyService
|
| Constructor Summary | |
|---|---|
IndexStorageStrategy()
|
|
| Method Summary | |
|---|---|
String |
getRelativePathForAttribute(String resourceParent,
String resource,
String attribute)
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. |
String |
getResourceTypeName()
getResourceTypeName |
protected ThreadCategory |
log()
log |
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected StorageStrategyService m_storageStrategyService
| Constructor Detail |
|---|
public IndexStorageStrategy()
| Method Detail |
|---|
public String getRelativePathForAttribute(String resourceParent,
String resource,
String attribute)
getRelativePathForAttribute
getRelativePathForAttribute in interface StorageStrategyresourceParent - a String object.resource - a String object.attribute - a String object.
String object.public void setResourceTypeName(String name)
setResourceTypeName
setResourceTypeName in interface StorageStrategyname - a String object.public String getResourceTypeName()
getResourceTypeName
String object.public String getResourceNameFromIndex(CollectionResource resource)
getResourceNameFromIndex in interface StorageStrategyresource - a CollectionResource object
String object.public void setStorageStrategyService(StorageStrategyService agent)
setStorageStrategyService in interface StorageStrategyagent - a StorageStrategyService object.
public void setParameters(List<Parameter> parameterCollection)
throws IllegalArgumentException
setParameters
setParameters in interface StorageStrategyparameterCollection - a List object.
IllegalArgumentExceptionprotected ThreadCategory log()
log
ThreadCategory object.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||