IExecutionContext.getSubContextForNewBases(Object) and IExecutionContext.getSubContextForNewBases(Object, Object)@Deprecated public class ExecutionContextWrapper extends ContextWrapper<IExecutionContext> implements IExecutionContext
cDEFAULT_LOGGER_NAME| Constructor and Description |
|---|
ExecutionContextWrapper(IExecutionContext c)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
debug(String msg)
Deprecated.
Writes a debug message.
|
void |
debugEntering()
Deprecated.
Forces to enter a log sub-phase without logging any message.
|
void |
debugEntering(String msg)
Deprecated.
Increments Debug Level : When entering into a sub-phase.
|
void |
debugExiting()
Deprecated.
Forces to exit a log sub-phase without logging any message.
|
void |
debugExiting(String msg)
Deprecated.
Decreases Debug Level : When exiting from a sub-phase.
|
void |
debugParent(String msg)
Deprecated.
Writes a debug message indented once less (if possible).
|
void |
debugSub(String msg)
Deprecated.
Writes a debug message indented once more.
|
IExecutionResult |
execute()
Deprecated.
Convenience method to execute the MRuleExecutionSet of this context with this context.
|
Object |
getCachedData(IAddon a)
Deprecated.
Retrieves data cached by
IExecutionContext.setCachedData(IAddon, Object). |
ExtPropertySource |
getCachedPropertySource(Object src)
Deprecated.
Internal use only: Drastically disminuish memory footprint by caching Property Source Object.
|
ExtPropertySource |
getCachedPropertySource(Object src,
Class<?> defaultSrcType)
Deprecated.
Internal use only: Drastically disminuish memory footprint by caching Property Source Object.
|
Appendable |
getErr()
Deprecated.
|
String |
getLogSpaces()
Deprecated.
Get spaces corresponding to stack level.
|
Appendable |
getOut()
Deprecated.
|
String |
getParentLogSpaces()
Deprecated.
Get spaces corresponding to stack level indented once less (if possible).
|
Object |
getReadBase()
Deprecated.
Returns base object for property read access.
|
IExecutionContext |
getRootContext()
Deprecated.
In case of sub context usage, this allows to access the root context.
|
MExecutionContext<Object> |
getSubContextForNewBases(Object newBases)
Deprecated.
Gets a new Execution Context instance, modifying the following behaviours :
Read and write bases are the provided newBases
Cache is disabled
|
MInOutExecutionContext<Object,Object> |
getSubContextForNewBases(Object newReadBase,
Object newWriteBase)
Deprecated.
Gets a new Execution Context instance, modifying the following behaviours :
Read and write bases are the provided newReadBase and newWriteBase
Cache is disabled
|
MInOutExecutionContext<Object,Object> |
getSubContextForNewVariables()
Deprecated.
Gets a new Execution Context instance, modifying the following behaviours :
Variables repository is different
|
String |
getSubLogSpaces()
Deprecated.
Get spaces corresponding to stack level indented once more.
|
Object |
getWriteBase()
Deprecated.
Returns base object for property write access.
|
boolean |
hasCachedData(IAddon a)
Deprecated.
Tells if data are cached by
IExecutionContext.setCachedData(IAddon, Object), included null value. |
void |
init()
Deprecated.
INTERNAL USE ONLY: Called by rule engine to initialize and check before execution.
|
boolean |
isDebugEnabled()
Deprecated.
Debug is enabled if LOGGER has debug enabled.
|
void |
resetCachedData()
Deprecated.
Resets all cached data for all addons.
|
Object |
resetCachedData(IAddon a)
Deprecated.
Resets cached data for one addons, returning previously cached data.
|
Object |
setCachedData(IAddon a,
Object o)
Deprecated.
Allows to cache data for a given addon.
|
getExecutionSet, getImports, getLog, getPhase, getReadBaseType, getSecurityManager, getVariables, getWrappedObject, getWriteBaseType, setExecutionSet, setLoggerNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetExecutionSet, getImports, getLog, getPhase, getReadBaseType, getSecurityManager, getVariables, getWriteBaseType, setExecutionSet, setLoggerNamepublic ExecutionContextWrapper(IExecutionContext c)
public String getLogSpaces()
IExecutionContextgetLogSpaces in interface IExecutionContextpublic String getSubLogSpaces()
IExecutionContextgetSubLogSpaces in interface IExecutionContextpublic String getParentLogSpaces()
IExecutionContextgetParentLogSpaces in interface IExecutionContextpublic void debugEntering()
IExecutionContextdebugEntering in interface IExecutionContextpublic void debugEntering(String msg)
IExecutionContextdebugEntering in interface IExecutionContextpublic void debug(String msg)
IExecutionContextdebug in interface IExecutionContextpublic void debugSub(String msg)
IExecutionContextdebugSub in interface IExecutionContextpublic void debugParent(String msg)
IExecutionContextdebugParent in interface IExecutionContextpublic void debugExiting()
IExecutionContextdebugExiting in interface IExecutionContextpublic void debugExiting(String msg)
IExecutionContextdebugExiting in interface IExecutionContextpublic boolean isDebugEnabled()
IExecutionContextisDebugEnabled in interface IExecutionContextpublic IExecutionResult execute() throws MExecutionException
IExecutionContextexecute in interface IExecutionContextMExecutionExceptionpublic void init()
throws MExecutionException
IExecutionContextinit in interface IExecutionContextMExecutionExceptionpublic Object setCachedData(IAddon a, Object o)
IExecutionContextsetCachedData in interface IExecutionContextpublic Object getCachedData(IAddon a)
IExecutionContextIExecutionContext.setCachedData(IAddon, Object).getCachedData in interface IExecutionContextpublic boolean hasCachedData(IAddon a)
IExecutionContextIExecutionContext.setCachedData(IAddon, Object), included null value.hasCachedData in interface IExecutionContextpublic Object resetCachedData(IAddon a)
IExecutionContextIAddon.resetCachedData(IExecutionContext).resetCachedData in interface IExecutionContextpublic void resetCachedData()
IExecutionContextresetCachedData in interface IExecutionContextpublic Appendable getOut()
getOut in interface IExecutionContextpublic Appendable getErr()
getErr in interface IExecutionContextpublic ExtPropertySource getCachedPropertySource(Object src)
IExecutionContextgetCachedPropertySource in interface IExecutionContextpublic ExtPropertySource getCachedPropertySource(Object src, Class<?> defaultSrcType)
IExecutionContextgetCachedPropertySource in interface IExecutionContextpublic Object getReadBase()
IExecutionContextgetReadBase in interface IExecutionContextpublic Object getWriteBase()
IExecutionContextgetWriteBase in interface IExecutionContextpublic IExecutionContext getRootContext()
IContextgetRootContext in interface IExecutionContextgetRootContext in interface IContextgetRootContext in class ContextWrapper<IExecutionContext>public MExecutionContext<Object> getSubContextForNewBases(Object newBases)
IExecutionContextgetSubContextForNewBases in interface IExecutionContextpublic MInOutExecutionContext<Object,Object> getSubContextForNewBases(Object newReadBase, Object newWriteBase)
IExecutionContextgetSubContextForNewBases in interface IExecutionContextpublic MInOutExecutionContext<Object,Object> getSubContextForNewVariables()
IExecutionContextgetSubContextForNewVariables in interface IExecutionContext