当前页面:
在线文档首页 >
JBoss RULES 3.0.6 API 英文版文档
Query - JBoss RULES 3.0.6 API 英文版文档
org.drools.rule
Class Query
java.lang.Object
org.drools.rule.Rule
org.drools.rule.Query
- All Implemented Interfaces:
- java.io.Serializable
public class Query
- extends Rule
- See Also:
- Serialized Form
Constructor Summary |
Query(java.lang.String name)
|
Method Summary |
boolean |
isValid()
Override this as Queries will NEVER have a consequence, and it should
not be taken into account when deciding if it is valid. |
Methods inherited from class org.drools.rule.Rule |
addPattern, addPattern, equals, getActivationGroup, getAgendaGroup, getAutoFocus, getConsequence, getDeclaration, getDeclarations, getDuration, getLhs, getLoadOrder, getName, getNoLoop, getPackage, getSalience, getSpecifity, getTransformedLhs, hashCode, isSemanticallyValid, setAgendaGroup, setAutoFocus, setConsequence, setDuration, setDuration, setNoLoop, setSalience, setSemanticallyValid, setXorGroup, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Query
public Query(java.lang.String name)
isValid
public boolean isValid()
- Override this as Queries will NEVER have a consequence, and it should
not be taken into account when deciding if it is valid.
- Overrides:
isValid
in class Rule
- Returns:
true
if this rule is valid, else
false
.