public class BatchTransformationRuleFactory.BatchTransformationRuleBuilder<Match extends IPatternMatch,Matcher extends ViatraQueryMatcher<Match>>
extends java.lang.Object
Constructor and Description |
---|
BatchTransformationRuleBuilder() |
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<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)
Sets the precondition query of the rule.
|
public BatchTransformationRuleFactory.BatchTransformationRuleBuilder<Match,Matcher> name(java.lang.String name)
public BatchTransformationRuleFactory.BatchTransformationRuleBuilder<Match,Matcher> precondition(IQuerySpecification<Matcher> precondition)
public BatchTransformationRuleFactory.BatchTransformationRuleBuilder<Match,Matcher> action(java.util.function.Consumer<Match> action)
public BatchTransformationRuleFactory.BatchTransformationRuleBuilder<Match,Matcher> filter(EventFilter<Match> filter)
public BatchTransformationRule<Match,Matcher> build()
public BatchTransformationRule<Match,Matcher> buildStateful()