Package | Description |
---|---|
org.eclipse.incquery.runtime.evm.api | |
org.eclipse.incquery.runtime.evm.specific | |
org.eclipse.incquery.runtime.evm.specific.job | |
org.eclipse.incquery.viewers.runtime.model |
Modifier and Type | Class and Description |
---|---|
class |
CompositeJob<EventAtom> |
Modifier and Type | Method and Description |
---|---|
com.google.common.collect.Multimap<ActivationState,Job<EventAtom>> |
RuleSpecification.getJobs() |
java.util.Collection<Job<EventAtom>> |
RuleSpecification.getJobs(ActivationState state)
Returns the jobs specified for the given state.
|
Constructor and Description |
---|
RuleSpecification(EventSourceSpecification<EventAtom> sourceSpecification,
ActivationLifeCycle lifeCycle,
java.util.Set<Job<EventAtom>> jobs)
Creates a specification with the given life-cycle and job set.
|
Modifier and Type | Method and Description |
---|---|
static <EventAtom> |
Jobs.newEnableJob(Job<EventAtom> job) |
static <EventAtom> |
Jobs.newErrorLoggingJob(Job<EventAtom> job) |
static <EventAtom> |
Jobs.newNopJob(ActivationState activationState)
Creates a
Job that does not have any effect. |
static <EventAtom> |
TransactionalJobs.newRecordingJob(Job<EventAtom> job)
Creates a
RecordingJob decorating the given job. |
static <EventAtom> |
TransactionalJobs.newRecordingJob(Job<EventAtom> job,
EventAtomEditingDomainProvider<EventAtom> provider)
Creates a
RecordingJob decorating the given job. |
static <EventAtom extends IPatternMatch> |
TransactionalJobs.newRecordingJobForMatchActivation(Job<EventAtom> job)
Creates a
RecordingJob decorating the given job. |
static <Match extends IPatternMatch> |
Jobs.newStatelessJob(IncQueryActivationStateEnum incQueryActivationStateEnum,
IMatchProcessor<Match> processor)
Creates a
StatelessJob for the given state with the given processor. |
Modifier and Type | Method and Description |
---|---|
static <EventAtom> |
Jobs.newEnableJob(Job<EventAtom> job) |
static <EventAtom> |
Jobs.newErrorLoggingJob(Job<EventAtom> job) |
static <EventAtom> |
TransactionalJobs.newRecordingJob(Job<EventAtom> job)
Creates a
RecordingJob decorating the given job. |
static <EventAtom> |
TransactionalJobs.newRecordingJob(Job<EventAtom> job,
EventAtomEditingDomainProvider<EventAtom> provider)
Creates a
RecordingJob decorating the given job. |
static <EventAtom extends IPatternMatch> |
TransactionalJobs.newRecordingJobForMatchActivation(Job<EventAtom> job)
Creates a
RecordingJob decorating the given job. |
Modifier and Type | Method and Description |
---|---|
static <Match extends IPatternMatch> |
Rules.newMatcherRuleSpecification(IncQueryMatcher<Match> matcher,
ActivationLifeCycle lifecycle,
java.util.Set<Job<Match>> jobs) |
static <Match extends IPatternMatch> |
Rules.newMatcherRuleSpecification(IQuerySpecification<? extends IncQueryMatcher<Match>> querySpecification,
ActivationLifeCycle lifecycle,
java.util.Set<Job<Match>> jobs)
Creates a
RuleSpecification with the given query specification, life-cycle and jobs. |
static <Match extends IPatternMatch> |
Rules.newMatcherRuleSpecification(IQuerySpecification<? extends IncQueryMatcher<Match>> querySpecification,
java.util.Set<Job<Match>> jobs)
Creates a
RuleSpecification with the given query specification and jobs,
using the DefaultActivationLifeCycle.DEFAULT life-cycle. |
Modifier and Type | Class and Description |
---|---|
class |
CommandExecutingJob<EventAtom> |
class |
EnableJob<EventAtom> |
class |
ErrorLoggingJob<EventAtom>
Composite job for logging any errors that happen in the execution of the composed job.
|
class |
RecordingJob<EventAtom>
A stateless job implementation that executes its action inside a
RecordingCommand
if there is a TransactionalEditingDomain available. |
class |
SequentialProcessorsJob<Match extends IPatternMatch>
Sequentially executes a list of match processors in a stateless manner.
|
class |
StatelessJob<Match extends IPatternMatch>
This class represents a
Job that uses an IMatchProcessor
on the match of the activation when executed. |
Constructor and Description |
---|
EnableJob(Job<EventAtom> job) |
ErrorLoggingJob(Job<EventAtom> job)
Composes the given job into an error logging job.
|
RecordingJob(Job<EventAtom> recordedJob)
Creates a new recording job associated with the given state and processor.
|
RecordingJob(Job<EventAtom> recordedJob,
EventAtomEditingDomainProvider<EventAtom> provider) |
Modifier and Type | Method and Description |
---|---|
Job<GenericPatternMatch> |
ContainmentRule.getAppearedJob() |
Job<GenericPatternMatch> |
ItemRule.getAppearedJob() |
Job<GenericPatternMatch> |
EdgeRule.getAppearedJob() |
Job<GenericPatternMatch> |
ContainmentRule.getDisappearedJob() |
Job<GenericPatternMatch> |
ItemRule.getDisappearedJob() |
Job<GenericPatternMatch> |
EdgeRule.getDisappearedJob() |
Job<GenericPatternMatch> |
ItemRule.getUpdatedJob() |
Job<GenericPatternMatch> |
EdgeRule.getUpdatedJob() |