public class OCLVMExecutor extends BasicOCLExecutor implements VMExecutor
Modifier and Type | Field and Description |
---|---|
protected org.eclipse.emf.ecore.EObject |
context |
protected ExpressionInOCL |
expressionInOCL |
protected IVMContext |
vmContext |
modelManager
environmentFactory
Constructor and Description |
---|
OCLVMExecutor(IVMContext vmContext,
ExpressionInOCL expressionInOCL,
org.eclipse.emf.ecore.EObject context) |
OCLVMExecutor(IVMContext vmContext,
org.eclipse.emf.common.util.URI oclURI,
org.eclipse.emf.common.util.URI contextURI) |
Modifier and Type | Method and Description |
---|---|
protected EvaluationVisitor.EvaluationVisitorExtension |
createEvaluationVisitor() |
protected OCLVMEvaluationEnvironment |
createNestedEvaluationEnvironment(EvaluationEnvironment.EvaluationEnvironmentExtension evaluationEnvironment,
NamedElement executableObject,
OCLExpression callingObject) |
protected OCLVMEvaluationEnvironment |
createRootEvaluationEnvironment(NamedElement executableObject) |
java.lang.Object |
execute() |
ExpressionInOCL |
getDebuggable() |
java.lang.String |
getPluginId() |
void |
saveModels() |
void |
setSuspendOnStartUp(boolean suspendOnStartup) |
dispose, getModelManager
add, createNestedEvaluator, createRegexCache, evaluate, getCompleteEnvironment, getDiagnosticSeverity, getEnvironmentFactory, getEvaluationEnvironment, getEvaluationVisitor, getIdResolver, getLogger, getMetamodelManager, getRegexPattern, getRootEvaluationEnvironment, getSeverity, getStandardLibrary, getStaticTypeOf, getStaticTypeOf, getStaticTypeOf, getValueOf, initializeEvaluationEnvironment, internalExecuteNavigationCallExp, isCanceled, popEvaluationEnvironment, pushEvaluationEnvironment, replace, setCanceled, setLogger, setRootEvaluationEnvironment
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getEnvironmentFactory, getEvaluationVisitor, getMetamodelManager, getRootEvaluationEnvironment, getValueOf, initializeEvaluationEnvironment, internalExecuteNavigationCallExp
add, evaluate, getCompleteEnvironment, getEvaluationEnvironment, getIdResolver, getLogger, getModelManager, getRegexPattern, getSeverity, getStandardLibrary, getStaticTypeOf, getStaticTypeOf, getStaticTypeOf, popEvaluationEnvironment, pushEvaluationEnvironment, replace, setLogger
createNestedEvaluator, dispose, getDiagnosticSeverity, isCanceled, setCanceled
@NonNull protected final IVMContext vmContext
@NonNull protected final ExpressionInOCL expressionInOCL
@Nullable protected final org.eclipse.emf.ecore.EObject context
public OCLVMExecutor(IVMContext vmContext, @NonNull org.eclipse.emf.common.util.URI oclURI, @Nullable org.eclipse.emf.common.util.URI contextURI) throws java.io.IOException, ParserException
java.io.IOException
ParserException
public OCLVMExecutor(@NonNull IVMContext vmContext, @NonNull ExpressionInOCL expressionInOCL, @Nullable org.eclipse.emf.ecore.EObject context)
protected EvaluationVisitor.EvaluationVisitorExtension createEvaluationVisitor()
createEvaluationVisitor
in class AbstractExecutor
@NonNull protected OCLVMEvaluationEnvironment createNestedEvaluationEnvironment(EvaluationEnvironment.EvaluationEnvironmentExtension evaluationEnvironment, @NonNull NamedElement executableObject, @Nullable OCLExpression callingObject)
createNestedEvaluationEnvironment
in class AbstractExecutor
@NonNull protected OCLVMEvaluationEnvironment createRootEvaluationEnvironment(@NonNull NamedElement executableObject)
createRootEvaluationEnvironment
in class AbstractExecutor
public java.lang.Object execute()
execute
in interface VMExecutor
@NonNull public ExpressionInOCL getDebuggable()
getDebuggable
in interface VMExecutor
@NonNull public java.lang.String getPluginId()
getPluginId
in interface VMExecutor
public void saveModels()
saveModels
in interface VMExecutor
public void setSuspendOnStartUp(boolean suspendOnStartup)
setSuspendOnStartUp
in interface VMExecutor