public abstract class AbstractResultObjectHandler extends AbstractM2xResultHandler
IJobChangeListener
on an
XtendJob
instance or a M2MJob
instance that encloses the latter and process the
result objects
produced by the XtendJob
.Constructor and Description |
---|
AbstractResultObjectHandler() |
Modifier and Type | Method and Description |
---|---|
void |
handleResult(org.eclipse.core.runtime.jobs.Job m2xJob)
Invoked for handling the result of last job that has completed execution.
|
protected abstract void |
handleResultObjects(java.util.Map<java.lang.Object,java.util.Collection<?>> resultObjects)
Invoked for handling the the
result objects produced by the XtendJob
behind the last job that has completed execution. |
done, getCheckJob, getM2xJob, getXpandJob, getXtendJob
public void handleResult(org.eclipse.core.runtime.jobs.Job m2xJob)
AbstractM2xResultHandler
Clients are expected to override this method and for implementing the required result handling behavior.
handleResult
in class AbstractM2xResultHandler
m2xJob
- The last job that has completed execution - same job instance as that returned by AbstractM2xResultHandler.getM2xJob()
.AbstractM2xResultHandler.getM2xJob()
protected abstract void handleResultObjects(java.util.Map<java.lang.Object,java.util.Collection<?>> resultObjects)
result objects
produced by the XtendJob
behind the last job that has completed execution.
Clients are expected to override this method and for implementing the required result object handling behavior.
resultObjects
- A map that is keyed by the input objects that had been passed to the XtendJob
and yields the
collection of result objects that the XtendJob
has produced for each of them as value.AbstractM2xResultHandler.getM2xJob()