public class BatchTransformationStatements
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
<Match extends IPatternMatch> |
countAllCurrent(BatchTransformationRule<Match,?> rule)
Returns the number of current activations of the rule.
|
<Match extends IPatternMatch> |
countAllCurrent(BatchTransformationRule<Match,?> rule,
EventFilter<? super Match> filter)
Returns the number of current activations of the rule.
|
<Match extends IPatternMatch> |
countAllCurrent(BatchTransformationRule<Match,?> rule,
java.util.Map.Entry<java.lang.String,?>... parameterFilter)
Returns the number of current activations of the rule.
|
<Match extends IPatternMatch> |
disposeRule(RuleSpecification<Match> ruleSpecification)
Deprecated.
This method was added to the API as an error, should not be available for transformation developers.
|
<Match extends IPatternMatch> |
disposeRule(RuleSpecification<Match> ruleSpecification,
EventFilter<? super Match> filter)
Deprecated.
This method was added to the API as an error, should not be available for transformation developers.
|
void |
disposeRules(BatchTransformationRuleGroup rules)
Deprecated.
This method was added to the API as an error, should not be available for transformation developers.
|
void |
fireAllCurrent()
Executes the selected rules with their default filter on its current match set of the precondition.
|
<Match extends IPatternMatch> |
fireAllCurrent(BatchTransformationRule<Match,?> rule)
Executes the selected rule with the selected filter on its current match set of the precondition.
|
<Match extends IPatternMatch> |
fireAllCurrent(BatchTransformationRule<Match,?> rule,
EventFilter<? super Match> filter)
Executes the selected rule with the selected filter on its current match set of the precondition.
|
<Match extends IPatternMatch> |
fireAllCurrent(BatchTransformationRule<Match,?> rule,
java.util.Map.Entry<java.lang.String,?>... parameterFilter)
Executes the selected rule with the selected filter on its current match set of the precondition.
|
void |
fireAllCurrent(BatchTransformationRuleGroup rules)
Executes the selected rules with their default filter on its current match set of the precondition.
|
<Match extends IPatternMatch> |
fireOne(BatchTransformationRule<Match,?> rule)
Selects and fires an activation of the selected rule with the default filter of the rule.
|
<Match extends IPatternMatch> |
fireOne(BatchTransformationRule<Match,?> rule,
EventFilter<? super Match> filter)
Selects and fires an activation of the selected rule with a corresponding filter.
|
<Match extends IPatternMatch> |
fireOne(BatchTransformationRule<Match,?> rule,
java.util.Map.Entry<java.lang.String,?>... parameterFilter)
Selects and fires an activation of the selected rule with a corresponding filter
|
<Match extends IPatternMatch> |
fireUntil(BatchTransformationRule<Match,?> rule,
java.util.function.Predicate<Match> breakCondition)
Executes the selected rule with the selected filter as long as there are possible matches of its preconditions
and the break condition is not fulfilled.
|
<Match extends IPatternMatch> |
fireUntil(BatchTransformationRule<Match,?> rule,
java.util.function.Predicate<Match> breakCondition,
EventFilter<? super Match> filter)
Executes the selected rule with the selected filter as long as there are possible matches of its precondition and
the break condition is not fulfilled.
|
<Match extends IPatternMatch> |
fireUntil(BatchTransformationRule<Match,?> rule,
java.util.function.Predicate<Match> breakCondition,
java.util.Map.Entry<java.lang.String,?>... filterParameters)
Executes the selected rule with the selected filter as long as there are possible matches of its precondition and
the break condition is not fulfilled.
|
void |
fireUntil(BatchTransformationRuleGroup rules,
java.util.function.Predicate<IPatternMatch> breakCondition)
Executes the selected rules with the selected filter as long as there are possible matches of any of their
preconditions and the break condition is not fulfilled.
|
void |
fireUntil(java.util.function.Predicate<IPatternMatch> breakCondition)
Executes all rules of the transformation with the selected filter as long as there are possible matches of any of their
preconditions and the break condition is not fulfilled.
|
void |
fireWhilePossible()
Executes all rules of the transformation with the default as long as there are possible matches of any of their
preconditions.
|
<Match extends IPatternMatch> |
fireWhilePossible(BatchTransformationRule<Match,?> rule)
Executes the selected rule with the selected filter as long as there are possible matches of its precondition.
|
<Match extends IPatternMatch> |
fireWhilePossible(BatchTransformationRule<Match,?> rule,
EventFilter<? super Match> filter)
Executes the selected rule with the selected filter as long as there are possible matches of its preconditions.
|
void |
fireWhilePossible(BatchTransformationRuleGroup rules)
Executes the selected rules with the default filter as long as there are possible matches of any of their
preconditions.
|
boolean |
hasCurrent()
Returns whether at least a single rule of the transformation can be fired using its default filters.
|
<Match extends IPatternMatch> |
hasCurrent(BatchTransformationRule<Match,?> rule)
Returns whether the given rule can be fired
|
<Match extends IPatternMatch> |
hasCurrent(BatchTransformationRule<Match,?> rule,
EventFilter<? super Match> filter)
Returns whether the given rule can be fired
|
<Match extends IPatternMatch> |
hasCurrent(BatchTransformationRule<Match,?> rule,
java.util.Map.Entry<java.lang.String,?>... parameterFilter)
Returns whether the given rule can be fired
|
boolean |
hasCurrent(BatchTransformationRuleGroup rules)
Returns whether at least a single rule in the given group can be fired using its default filters.
|
<Match extends IPatternMatch> |
registerRule(RuleSpecification<Match> ruleSpecification)
Deprecated.
Added to the API as an error, should have been internal helper method.
|
<Match extends IPatternMatch> |
registerRule(RuleSpecification<Match> ruleSpecification,
EventFilter<? super Match> filter)
Deprecated.
This method was added to the API as an error, should not be available for transformation developers.
|
void |
registerRules(BatchTransformationRuleGroup rules)
Deprecated.
This method was added to the API as an error, should not be available for transformation developers.
|
public <Match extends IPatternMatch> void fireUntil(BatchTransformationRule<Match,?> rule, java.util.function.Predicate<Match> breakCondition)
@SafeVarargs public final <Match extends IPatternMatch> void fireUntil(BatchTransformationRule<Match,?> rule, java.util.function.Predicate<Match> breakCondition, java.util.Map.Entry<java.lang.String,?>... filterParameters)
public <Match extends IPatternMatch> void fireUntil(BatchTransformationRule<Match,?> rule, java.util.function.Predicate<Match> breakCondition, EventFilter<? super Match> filter)
public void fireUntil(BatchTransformationRuleGroup rules, java.util.function.Predicate<IPatternMatch> breakCondition)
public void fireUntil(java.util.function.Predicate<IPatternMatch> breakCondition)
public <Match extends IPatternMatch> void fireWhilePossible(BatchTransformationRule<Match,?> rule)
public <Match extends IPatternMatch> void fireWhilePossible(BatchTransformationRule<Match,?> rule, EventFilter<? super Match> filter)
public void fireWhilePossible(BatchTransformationRuleGroup rules)
public void fireWhilePossible()
public <Match extends IPatternMatch> void fireAllCurrent(BatchTransformationRule<Match,?> rule)
@SafeVarargs public final <Match extends IPatternMatch> void fireAllCurrent(BatchTransformationRule<Match,?> rule, java.util.Map.Entry<java.lang.String,?>... parameterFilter)
public <Match extends IPatternMatch> void fireAllCurrent(BatchTransformationRule<Match,?> rule, EventFilter<? super Match> filter)
@Deprecated public <Match extends IPatternMatch> boolean registerRule(RuleSpecification<Match> ruleSpecification)
@Deprecated public <Match extends IPatternMatch> boolean registerRule(RuleSpecification<Match> ruleSpecification, EventFilter<? super Match> filter)
@Deprecated public void registerRules(BatchTransformationRuleGroup rules)
public <Match extends IPatternMatch> int countAllCurrent(BatchTransformationRule<Match,?> rule)
@SafeVarargs public final <Match extends IPatternMatch> int countAllCurrent(BatchTransformationRule<Match,?> rule, java.util.Map.Entry<java.lang.String,?>... parameterFilter)
public <Match extends IPatternMatch> int countAllCurrent(BatchTransformationRule<Match,?> rule, EventFilter<? super Match> filter)
public <Match extends IPatternMatch> boolean hasCurrent(BatchTransformationRule<Match,?> rule)
@SafeVarargs public final <Match extends IPatternMatch> boolean hasCurrent(BatchTransformationRule<Match,?> rule, java.util.Map.Entry<java.lang.String,?>... parameterFilter)
public <Match extends IPatternMatch> boolean hasCurrent(BatchTransformationRule<Match,?> rule, EventFilter<? super Match> filter)
public boolean hasCurrent(BatchTransformationRuleGroup rules)
public boolean hasCurrent()
@Deprecated public <Match extends IPatternMatch> boolean disposeRule(RuleSpecification<Match> ruleSpecification)
@Deprecated public <Match extends IPatternMatch> boolean disposeRule(RuleSpecification<Match> ruleSpecification, EventFilter<? super Match> filter)
@Deprecated public void disposeRules(BatchTransformationRuleGroup rules)
public <Match extends IPatternMatch> void fireOne(BatchTransformationRule<Match,?> rule)
Warning: the selection criteria undefined - it is neither random nor controllable
@SafeVarargs public final <Match extends IPatternMatch> void fireOne(BatchTransformationRule<Match,?> rule, java.util.Map.Entry<java.lang.String,?>... parameterFilter)
Warning: the selection criteria is undefined - it is neither random nor controllable
public <Match extends IPatternMatch> void fireOne(BatchTransformationRule<Match,?> rule, EventFilter<? super Match> filter)
Warning: the selection criteria is undefined - it is neither random nor controllable
public void fireAllCurrent(BatchTransformationRuleGroup rules)
public void fireAllCurrent()