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

Duration (Drools 4.0.0.11754MR2 API) - JBoss RULES 4.0.0.11754MR2 API 英文版文档


org.drools.spi
Interface Duration

All Superinterfaces:
Serializable
All Known Implementing Classes:
BaseDuration, FixedDuration

public interface Duration
extends Serializable

Interface for specifying truthness duration.

Author:
bob mcwhirter
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


Copyright © 2001-2007 JBoss Inc.. All Rights Reserved.