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, setStorageStrategyService
protected final OnmsJexlEngine jexlEngine
public String getResourceNameFromIndex(CollectionResource resource)
getResourceNameFromIndex
in interface StorageStrategy
getResourceNameFromIndex
in class IndexStorageStrategy
resource
- a CollectionResource
objectString
object.public void setParameters(List<Parameter> parameterCollection) throws IllegalArgumentException
setParameters
setParameters
in interface StorageStrategy
setParameters
in class IndexStorageStrategy
parameterCollection
- a List
object.IllegalArgumentException
public void updateContext(org.apache.commons.jexl2.JexlContext context, CollectionResource resource) throws IllegalArgumentException
IllegalArgumentException
Copyright © 2021. All rights reserved.