站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss RULES 3.0.6 API 英文版文档

Duration - JBoss RULES 3.0.6 API 英文版文档


org.drools.spi
Interface Duration

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
BaseDuration, FixedDuration

public interface Duration
extends java.io.Serializable

Interface for specifying truthness duration.

See Also:
Rule.setDuration(long), Rule.getDuration()

Method Summary
 long getDuration(Tuple tuple)
           Retrieve the duration for which the conditions of this Tuple must remain true before the rule will fire.
 

Method Detail

getDuration

long getDuration(Tuple tuple)

Retrieve the duration for which the conditions of this Tuple must remain true before the rule will fire.

Parameters:
tuple -
Returns:
the duration