org.drools.core.rule
Class AbductiveQuery
java.lang.Object
org.drools.core.rule.Rule
org.drools.core.rule.Query
org.drools.core.rule.AbductiveQuery
- All Implemented Interfaces:
- Externalizable, Serializable, Dialectable, Acceptor, AcceptsClassObjectType, Wireable, org.kie.api.definition.KieDefinition, org.kie.api.definition.rule.Query, org.kie.api.definition.rule.Rule
public class AbductiveQuery
- extends Query
- implements Externalizable, AcceptsClassObjectType
- See Also:
- Serialized Form
| Nested classes/interfaces inherited from interface org.kie.api.definition.KieDefinition |
org.kie.api.definition.KieDefinition.KnowledgeType |
| Methods inherited from class org.drools.core.rule.Rule |
addMetaAttribute, addNamedConsequence, addPattern, equals, getActivationGroup, getActivationListener, getAgendaGroup, getAutoFocus, getCalendars, getConsequence, getConsequenceMetaData, getDateEffective, getDateExpires, getDeclaration, getDeclarations, getDialect, getEnabled, getId, getLhs, getLoadOrder, getMetaAttribute, getMetaAttributes, getMetaData, getMethodBytecode, getName, getNamedConsequence, getNamedConsequences, getNamespace, getPackage, getPackageName, getParent, getRequiredDeclarationsForConsequence, getResource, getRuleFlowGroup, getSalience, getSpecifity, getTimer, getTransformedLhs, hashCode, hasLogicalDependency, hasNamedConsequences, isEager, isEffective, isEnabled, isLockOnActive, isNoLoop, isSemanticallyValid, listMetaAttributes, setActivationGroup, setActivationListener, setAgendaGroup, setAutoFocus, setCalendars, setConsequence, setDateEffective, setDateExpires, setDialect, setEager, setEnabled, setHasLogicalDependency, setLhs, setLoadOrder, setLockOnActive, setNoLoop, setPackage, setParent, setRequiredDeclarationsForConsequence, setResource, setRuleFlowGroup, setSalience, setSemanticallyValid, setTimer, toString, wire |
| Methods inherited from interface org.kie.api.definition.rule.Query |
getMetaData, getName, getPackageName |
| Methods inherited from interface org.kie.api.definition.KieDefinition |
getId, getNamespace |
AbductiveQuery
public AbductiveQuery()
AbductiveQuery
public AbductiveQuery(String name,
Object value)
isAbductive
public boolean isAbductive()
- Overrides:
isAbductive in class Query
setReturnType
public void setReturnType(ClassObjectType objectType,
String[] params)
throws NoSuchMethodException
- Throws:
NoSuchMethodException
findConstructor
protected void findConstructor()
throws NoSuchMethodException
- Throws:
NoSuchMethodException
writeExternal
public void writeExternal(ObjectOutput out)
throws IOException
- Specified by:
writeExternal in interface Externalizable- Overrides:
writeExternal in class Query
- Throws:
IOException
readExternal
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
- Specified by:
readExternal in interface Externalizable- Overrides:
readExternal in class Query
- Throws:
IOException
ClassNotFoundException
abduce
public Object abduce(Object... args)
getReturnType
public ClassObjectType getReturnType()
getValue
public Object getValue()
setClassObjectType
public void setClassObjectType(ClassObjectType classObjectType)
- Specified by:
setClassObjectType in interface AcceptsClassObjectType
setReturnBound
public void setReturnBound(boolean returnBound)
isReturnBound
public boolean isReturnBound()
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.