[windup-dev] .when( new True() )
Ondrej Zizka
ozizka at redhat.com
Thu Jul 31 16:32:04 EDT 2014
Found - it was the other rule which just put the same string to stdout.
On 31.7.2014 20:33, Ondrej Zizka wrote:
> Note for myself: RuleSubset.perform()
>
>
> On 31.7.2014 19:59, Ondrej Zizka wrote:
>> Hi,
>>
>> I found this rule being invoked many many times.
>> Since there's just .when( new True() ) and not some iteration, I wonder
>> what are the elements that it executes over so many times.
>> And how do I get this information from the current API?
>>
>> Thanks,
>> Ondra
>>
>>
>> ruleSet("ExampleGroovyRule").setPhase(RulePhase.MIGRATION_RULES)
>>
>> .addRule()
>> .when(
>> new True()
>> )
>> .perform(
>> new GraphOperation () {
>> public void perform(GraphRewrite event, EvaluationContext
>> context) {
>> //System.out.println("Performing rewrite operation")
>> Logging.of(this.getClass()).info("Performing rewrite
>> operation in ExampleGroovyRule");
>> }
>> }
>> _______________________________________________
>> windup-dev mailing list
>> windup-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/windup-dev
> _______________________________________________
> windup-dev mailing list
> windup-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/windup-dev
More information about the windup-dev
mailing list