public class CompositeJob<EventAtom> extends Job<EventAtom>
Modifier | Constructor and Description |
---|---|
protected |
CompositeJob(Job<EventAtom> job) |
Modifier and Type | Method and Description |
---|---|
protected void |
execute(Activation<? extends EventAtom> activation,
Context context)
Executes the action on the activation using the supplied context.
|
protected void |
handleError(Activation<? extends EventAtom> activation,
java.lang.Exception exception,
Context context)
Called if the
Job.execute(org.eclipse.viatra.transformation.evm.api.Activation<? extends EventAtom>, org.eclipse.viatra.transformation.evm.api.Context) method has thrown an exception to allow jobs to handle their own errors. |
getActivationState
protected void execute(Activation<? extends EventAtom> activation, Context context)
Job
protected void handleError(Activation<? extends EventAtom> activation, java.lang.Exception exception, Context context)
Job
Job.execute(org.eclipse.viatra.transformation.evm.api.Activation<? extends EventAtom>, org.eclipse.viatra.transformation.evm.api.Context)
method has thrown an exception to allow jobs to handle their own errors.handleError
in class Job<EventAtom>