public class JexlIndexStorageStrategy extends IndexStorageStrategy
| Modifier and Type | Field and Description |
|---|---|
protected OnmsJexlEngine |
jexlEngine |
m_storageStrategyService| Constructor and Description |
|---|
JexlIndexStorageStrategy() |
| Modifier and Type | Method and Description |
|---|---|
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 |
updateContext(org.apache.commons.jexl2.JexlContext context,
CollectionResource resource) |
getRelativePathForAttribute, getResourceTypeName, setResourceTypeName, setStorageStrategyServiceprotected final OnmsJexlEngine jexlEngine
public String getResourceNameFromIndex(CollectionResource resource)
getResourceNameFromIndex in interface StorageStrategygetResourceNameFromIndex in class IndexStorageStrategyresource - a CollectionResource objectString object.public void setParameters(List<Parameter> parameterCollection) throws IllegalArgumentException
setParameters
setParameters in interface StorageStrategysetParameters in class IndexStorageStrategyparameterCollection - a List object.IllegalArgumentExceptionpublic void updateContext(org.apache.commons.jexl2.JexlContext context,
CollectionResource resource)
throws IllegalArgumentException
IllegalArgumentExceptionCopyright © 2022. All rights reserved.