📄 activationcreatedevent.java
字号:
package org.drools.event;import org.drools.WorkingMemory;import org.drools.rule.Rule;import org.drools.spi.Consequence;import org.drools.spi.Tuple;public class ActivationCreatedEvent extends WorkingMemoryEvent{ private final Rule rule; private final Tuple tuple; public ActivationCreatedEvent(WorkingMemory workingMemory, Rule rule, Tuple tuple) { super( workingMemory ); this.rule = rule; this.tuple = tuple; } public Consequence getConsequence() { return this.rule.getConsequence( ); } public Tuple getTuple() { return this.tuple; } public String toString() { return "[ActivationCreated: rule=" + this.rule.getName( ) + "; tuple=" + this.tuple + "]"; }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -