|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.m2m.qvt.oml.TransformationExecutor
public final class TransformationExecutor
A utility class that enables to execute existing transformation in the specified execution context.
Constructor Summary | |
---|---|
TransformationExecutor(org.eclipse.emf.common.util.URI uri)
Constructs the executor for the given transformation URI. |
Method Summary | |
---|---|
ExecutionDiagnostic |
execute(ExecutionContext executionContext,
ModelExtent... modelParameters)
Executes the transformation referred by this executor using the given model parameters and execution context. |
org.eclipse.emf.common.util.Diagnostic |
loadTransformation()
Attempts to load the transformation referred by this executor and checks if it is valid for execution. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TransformationExecutor(org.eclipse.emf.common.util.URI uri)
No attempt to resolve and load the transformation is done at this step
uri
- the URI of an existing transformationMethod Detail |
---|
public org.eclipse.emf.common.util.Diagnostic loadTransformation()
Remark: Only the first performs the actual transformation loading, subsequent calls to this method will return the existing diagnostic.
public ExecutionDiagnostic execute(ExecutionContext executionContext, ModelExtent... modelParameters)
executionContext
- the context object keeping the execution environment detailsmodelParameters
- the actual model arguments to the transformation
java.lang.IllegalArgumentException
- if the context or any of the model parameters is
null
public java.lang.String toString()
toString
in class java.lang.Object
|
Copyright 2008 Borland Software Corporation and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |