The setChildContextFreshness() method marks the freshness of the context held by child modules, permitting the calling module to validate or invalidate child freshness without traversing the module tree.
Note: This module should not be overridden.
results = setChildContextFreshness( contextStatus )
|
contextStatus |
Boolean |
Status to set child module contexts to: True = Mark context as fresh. False = Mark context as stale. |
Undefined
pushContextToChildren: function(explicitContext) {
this.withEachChild(function(child) {
child.baseContext = childContext;
child.setLoadState(Splunk.util.moduleLoadStates.HAS_CONTEXT);
child.onContextChange();
child.pushContextToChildren();
if (!child.isPageLoadComplete()) {
child.markPageLoadComplete();
}
});
this.setChildContextFreshness(true);
},