org.drools.examples.StateExampleDynamicRule.drl Maven / Gradle / Ivy
The newest version!
package org.drools.examples
import org.drools.examples.State;
rule "D to E"
when
State(name == "D", state == State.FINISHED )
e : State(name == "E", state == State.NOTRUN )
then
System.out.println(e.getName() + " finished" );
e.setState( State.FINISHED );
end
© 2015 - 2025 Weber Informatics LLC | Privacy Policy