public class ContextWrapper extends Object implements Serializable
ExecutionContext
.Constructor and Description |
---|
ContextWrapper(LspsContextHolder holder,
ExecutionContext context)
Constructs context wrapper with an existing context.
|
ContextWrapper(LspsContextHolder holder,
String evaluationLevel)
Constructs context wrapper with a evaluation level.
|
Modifier and Type | Method and Description |
---|---|
ExecutionContext |
getContext()
Returns the wrapped execution context.
|
String |
getEvaluationLevel()
Shortcut for getContext().getEvaluationLevel().
|
ModelInstance |
getModelInstance()
Shortcut for getContext().getModelInstance().
|
Namespace |
getNamespace()
Shortcut for getContext().getNamespace().
|
<T extends ValueHolder> |
getValueInLevel(T valueHolder)
Returns the given value holder in the evaluation level of this context.
|
public ContextWrapper(LspsContextHolder holder, ExecutionContext context)
holder
- context
- public ContextWrapper(LspsContextHolder holder, String evaluationLevel)
holder
- evaluationLevel
- public ExecutionContext getContext()
public ModelInstance getModelInstance()
ExecutionContext.getModelInstance()
public Namespace getNamespace()
ExecutionContext.getNamespace()
public String getEvaluationLevel()
ExecutionContext.getEvaluationLevel()
public <T extends ValueHolder> T getValueInLevel(T valueHolder)
T
- valueHolder
- Copyright © 2007-2018 Whitestein Technologies. All Rights Reserved.