public class EventDrivenTransformationRule<Match extends IPatternMatch,Matcher extends ViatraQueryMatcher<Match>> extends java.lang.Object implements ITransformationRule<Match,Matcher>
Constructor and Description |
---|
EventDrivenTransformationRule(EventDrivenTransformationRule<Match,Matcher> rule,
EventFilter<? super Match> filter) |
EventDrivenTransformationRule(java.lang.String name,
IQuerySpecification<Matcher> precondition,
com.google.common.collect.Multimap<CRUDActivationStateEnum,IMatchProcessor<Match>> stateActions,
ActivationLifeCycle lifeCycle,
EventFilter<? super Match> filter) |
Modifier and Type | Method and Description |
---|---|
EventFilter<? super Match> |
getFilter()
Returns the event filter set up for this rule; if no specific filter is
set up, an dedicated empty filter is returned
|
java.lang.String |
getName() |
IQuerySpecification<Matcher> |
getPrecondition() |
RuleSpecification<Match> |
getRuleSpecification() |
public EventDrivenTransformationRule(java.lang.String name, IQuerySpecification<Matcher> precondition, com.google.common.collect.Multimap<CRUDActivationStateEnum,IMatchProcessor<Match>> stateActions, ActivationLifeCycle lifeCycle, EventFilter<? super Match> filter)
public EventDrivenTransformationRule(EventDrivenTransformationRule<Match,Matcher> rule, EventFilter<? super Match> filter)
public java.lang.String getName()
getName
in interface ITransformationRule<Match extends IPatternMatch,Matcher extends ViatraQueryMatcher<Match>>
public RuleSpecification<Match> getRuleSpecification()
getRuleSpecification
in interface ITransformationRule<Match extends IPatternMatch,Matcher extends ViatraQueryMatcher<Match>>
public IQuerySpecification<Matcher> getPrecondition()
getPrecondition
in interface ITransformationRule<Match extends IPatternMatch,Matcher extends ViatraQueryMatcher<Match>>
public EventFilter<? super Match> getFilter()
ITransformationRule
getFilter
in interface ITransformationRule<Match extends IPatternMatch,Matcher extends ViatraQueryMatcher<Match>>