public class BatchTransformationRuleFactory.BatchTransformationRuleBuilder<Match extends IPatternMatch,Matcher extends ViatraQueryMatcher<Match>>
extends java.lang.Object
Constructor and Description |
---|
BatchTransformationRuleBuilder()
Deprecated.
Use
#BatchTransformationRuleFactory(IQuerySpecification) instead |
BatchTransformationRuleBuilder(IQuerySpecification<Matcher> precondition) |
Modifier and Type | Method and Description |
---|---|
BatchTransformationRuleFactory.BatchTransformationRuleBuilder<Match,Matcher> |
action(java.util.function.Consumer<Match> action)
Sets the model manipulation actions of the rule.
|
BatchTransformationRule<Match,Matcher> |
build() |
BatchTransformationRule<Match,Matcher> |
buildStateful() |
BatchTransformationRuleFactory.BatchTransformationRuleBuilder<Match,Matcher> |
filter(EventFilter<? super Match> filter)
Sets the event filter of the rule.
|
BatchTransformationRuleFactory.BatchTransformationRuleBuilder<Match,Matcher> |
name(java.lang.String name)
Sets the user-understandable name of the rule.
|
BatchTransformationRuleFactory.BatchTransformationRuleBuilder<Match,Matcher> |
precondition(IQuerySpecification<Matcher> precondition)
Deprecated.
Use
#BatchTransformationRuleFactory(IQuerySpecification) instead |
@Deprecated public BatchTransformationRuleBuilder()
#BatchTransformationRuleFactory(IQuerySpecification)
insteadpublic BatchTransformationRuleBuilder(IQuerySpecification<Matcher> precondition)
public BatchTransformationRuleFactory.BatchTransformationRuleBuilder<Match,Matcher> name(java.lang.String name)
@Deprecated public BatchTransformationRuleFactory.BatchTransformationRuleBuilder<Match,Matcher> precondition(IQuerySpecification<Matcher> precondition)
#BatchTransformationRuleFactory(IQuerySpecification)
insteadpublic BatchTransformationRuleFactory.BatchTransformationRuleBuilder<Match,Matcher> action(java.util.function.Consumer<Match> action)
public BatchTransformationRuleFactory.BatchTransformationRuleBuilder<Match,Matcher> filter(EventFilter<? super Match> filter)
public BatchTransformationRule<Match,Matcher> build()
public BatchTransformationRule<Match,Matcher> buildStateful()