Class TigerJexlContext
- All Implemented Interfaces:
Serializable,Cloneable,Map<String,,Object> NavigableMap<String,,Object> SortedMap<String,,Object> org.apache.commons.jexl3.JexlContext
public class TigerJexlContext
extends TreeMap<String,Object>
implements org.apache.commons.jexl3.JexlContext
Context to be used in a JEXL-evaluation. The keys are of type string, but they are canonicalized in
accordance to the TigerConfigurationKey. The values are objects, which makes this a superset of the TigerGlobalConfiguration.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object, V extends Object> Nested classes/interfaces inherited from interface org.apache.commons.jexl3.JexlContext
org.apache.commons.jexl3.JexlContext.AnnotationProcessor, org.apache.commons.jexl3.JexlContext.CancellationHandle, org.apache.commons.jexl3.JexlContext.ClassNameResolver, org.apache.commons.jexl3.JexlContext.ModuleProcessor, org.apache.commons.jexl3.JexlContext.NamespaceFunctor, org.apache.commons.jexl3.JexlContext.NamespaceResolver, org.apache.commons.jexl3.JexlContext.OptionsHandle, org.apache.commons.jexl3.JexlContext.PragmaProcessor, org.apache.commons.jexl3.JexlContext.ThreadLocal -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetKey()getOptional(String name) booleanvoidClones the context and returns a new copy with the given key/value pair addedClones the context and returns a new copy with the current element set to the given valueClones the context and returns a new copy with the key element set to the given valueClones the context and returns a new copy with the root element set to the given valueMethods inherited from class java.util.TreeMap
ceilingEntry, ceilingKey, clear, clone, comparator, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, descendingKeySet, descendingMap, entrySet, firstEntry, firstKey, floorEntry, floorKey, forEach, get, headMap, headMap, higherEntry, higherKey, keySet, lastEntry, lastKey, lowerEntry, lowerKey, merge, navigableKeySet, pollFirstEntry, pollLastEntry, putAll, putIfAbsent, remove, replace, replace, replaceAll, size, subMap, subMap, tailMap, tailMap, valuesMethods inherited from class java.util.AbstractMap
equals, hashCode, isEmpty, toString
-
Field Details
-
CURRENT_ELEMENT_MARKER
- See Also:
-
ROOT_ELEMENT_MARKER
- See Also:
-
REMAINING_PATH_FROM_REQUEST
- See Also:
-
KEY_ELEMENT_MARKER
- See Also:
-
-
Constructor Details
-
TigerJexlContext
-
TigerJexlContext
public TigerJexlContext()
-
-
Method Details
-
withCurrentElement
Clones the context and returns a new copy with the current element set to the given value -
withRootElement
Clones the context and returns a new copy with the root element set to the given value -
withKey
Clones the context and returns a new copy with the key element set to the given value -
with
Clones the context and returns a new copy with the given key/value pair added -
set
- Specified by:
setin interfaceorg.apache.commons.jexl3.JexlContext
-
put
-
has
- Specified by:
hasin interfaceorg.apache.commons.jexl3.JexlContext
-
get
- Specified by:
getin interfaceorg.apache.commons.jexl3.JexlContext
-
getOptional
-
getCurrentElement
-
getRootElement
-
getKey
-
cloneContext
-