public final class TransactionalJobs
extends java.lang.Object
Job
.Modifier and Type | Method and Description |
---|---|
static <Match extends org.eclipse.viatra.query.runtime.api.IPatternMatch> |
createMatchBasedEditingDomainProvider() |
static <EventAtom> |
newRecordingJob(org.eclipse.viatra.transformation.evm.api.Job<EventAtom> job)
Creates a
RecordingJob decorating the given job. |
static <EventAtom> |
newRecordingJob(org.eclipse.viatra.transformation.evm.api.Job<EventAtom> job,
EventAtomEditingDomainProvider<EventAtom> provider)
Creates a
RecordingJob decorating the given job. |
static <EventAtom extends org.eclipse.viatra.query.runtime.api.IPatternMatch> |
newRecordingJobForMatchActivation(org.eclipse.viatra.transformation.evm.api.Job<EventAtom> job)
Creates a
RecordingJob decorating the given job. |
public static <Match extends org.eclipse.viatra.query.runtime.api.IPatternMatch> EventAtomEditingDomainProvider<Match> createMatchBasedEditingDomainProvider()
public static <EventAtom> org.eclipse.viatra.transformation.evm.api.Job<EventAtom> newRecordingJob(org.eclipse.viatra.transformation.evm.api.Job<EventAtom> job)
RecordingJob
decorating the given job. A recording job attempts to find the transactional
editing domain from the context and wraps the execution inside a command, that is accessible from the context
afterwards.job
- public static <EventAtom> org.eclipse.viatra.transformation.evm.api.Job<EventAtom> newRecordingJob(org.eclipse.viatra.transformation.evm.api.Job<EventAtom> job, EventAtomEditingDomainProvider<EventAtom> provider)
RecordingJob
decorating the given job. A recording job attempts to find the transactional
editing domain using the given provider and wraps the execution inside a command, that is accessible from the
context afterwards.job
- public static <EventAtom extends org.eclipse.viatra.query.runtime.api.IPatternMatch> org.eclipse.viatra.transformation.evm.api.Job<EventAtom> newRecordingJobForMatchActivation(org.eclipse.viatra.transformation.evm.api.Job<EventAtom> job)
RecordingJob
decorating the given job. A recording job attempts to find the transactional
editing domain for the match in the event atom and wraps the execution inside a command, that is accessible from
the context afterwards.job
-