📄 propagationcontextimpl.java
字号:
package org.drools.reteoo;
import org.drools.rule.Rule;
import org.drools.spi.Activation;
import org.drools.spi.PropagationContext;
public class PropagationContextImpl implements PropagationContext
{
private int type;
private Rule rule;
private Activation activation;
public PropagationContextImpl( int type,
Rule rule,
Activation activation)
{
this.type = type;
this.rule = rule;
this.activation = activation;
}
/* (non-Javadoc)
* @see org.drools.reteoo.PropagationContext#getRuleOrigin()
*/
public Rule getRuleOrigin()
{
return this.rule;
}
/* (non-Javadoc)
* @see org.drools.reteoo.PropagationContext#getActivationOrigin()
*/
public Activation getActivationOrigin()
{
return activation;
}
/* (non-Javadoc)
* @see org.drools.reteoo.PropagationContext#getType()
*/
public int getType()
{
return this.type;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -