public abstract class InternalDebuggableExecutor extends Object
Modifier and Type | Method and Description |
---|---|
void |
cleanup() |
ExecutionDiagnostic |
execute(VMStartRequest startRequest,
EvaluationContext evaluationContext)
Executes the transformation referred by this executor using the given
model parameters and execution context.
|
NamedElement |
getDebuggable() |
ResourceSet |
getResourceSet() |
CompiledUnit |
getUnit()
Retrieves compiled unit if the referencing URI gets successfully resolved
|
URI |
getURI() |
IVMContext |
getVMContext() |
VMExecutor |
getVMExecutor() |
Diagnostic |
loadDebuggable()
Attempts to load the transformation referred by this executor and checks
if it is valid for execution.
|
String |
toString() |
public void cleanup()
public ExecutionDiagnostic execute(VMStartRequest startRequest, EvaluationContext evaluationContext)
IllegalArgumentException
- if the context or any of the model parameters is
null
public NamedElement getDebuggable()
public ResourceSet getResourceSet()
public URI getURI()
public CompiledUnit getUnit()
Remark: This method invocation causes the referenced transformation to load if not already done before by direct call to loadDebuggable() or
null
if it failed to be obtainedpublic IVMContext getVMContext()
public VMExecutor getVMExecutor()
public Diagnostic loadDebuggable()
Remark:
Only the first performs the actual transformation
loading, subsequent calls to this method will return the existing
diagnostic.
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.