public final class TransactionalJobs
extends java.lang.Object
Job
.Modifier and Type | Method and Description |
---|---|
static <Match extends IPatternMatch> |
createMatchBasedEditingDomainProvider() |
static <EventAtom> |
newRecordingJob(Job<EventAtom> job)
Creates a
RecordingJob decorating the given job. |
static <EventAtom> |
newRecordingJob(Job<EventAtom> job,
EventAtomEditingDomainProvider<EventAtom> provider)
Creates a
RecordingJob decorating the given job. |
static <EventAtom extends IPatternMatch> |
newRecordingJobForMatchActivation(Job<EventAtom> job)
Creates a
RecordingJob decorating the given job. |
public static <Match extends IPatternMatch> EventAtomEditingDomainProvider<Match> createMatchBasedEditingDomainProvider()
public static <EventAtom> Job<EventAtom> newRecordingJob(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> Job<EventAtom> newRecordingJob(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 IPatternMatch> Job<EventAtom> newRecordingJobForMatchActivation(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
-