@Internal public interface ExecutionContext
Modifier and Type | Method and Description |
---|---|
Segment |
getDefiningSection(String name) |
Object |
getFirstContextObject() |
ExecutionContext |
getParent() |
ValueWrapper |
getValue(String key) |
ValueWrapper |
getValue(String key,
String[] keyParts,
AtomicReference<EnhancedResolver.Hint> hintRef) |
ExecutionContext |
setContextObject(Object object) |
ExecutionContext |
setDefiningSections(Iterable<Segment> segments)
Associate the given defining sections with the context, but only if no
defining section with the same name is already associated.
|
ExecutionContext |
setTemplateInvocation(Template template) |
ValueWrapper getValue(String key, String[] keyParts, AtomicReference<EnhancedResolver.Hint> hintRef)
key
- keyParts
- hintRef
- ValueWrapper getValue(String key)
key
- ExecutionContext setContextObject(Object object)
object
- Object getFirstContextObject()
null
if not foundExecutionContext setTemplateInvocation(Template template)
template
- ExecutionContext setDefiningSections(Iterable<Segment> segments)
segments
- ExtendSegment
Segment getDefiningSection(String name)
name
- null
if no such associated with the contextExtendSegment
ExecutionContext getParent()
null
Copyright © 2017. All rights reserved.